Function at 0x4c1740
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b03e1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
call fcn.004c14c0
test eax, eax
je 0x4c179c
mov ebx, eax
jmp 0x4c2095
mov edi, dword [ebp - 0x4c]
cmp edi, 0x78
jb 0x4c17f8
mov ecx, dword [ebp - 0x50]
mov esi, 9
mov eax, dword [ecx + 0x18]
movzx edx, byte [ecx + 0x20]
bswap eax
mov dword [ebp - 0x30], eax
movzx eax, byte [ecx + 0x21]
shl edx, 8
or edx, eax
cmp edx, 0x200
je 0x4c17e6
nop dword [eax]
cmp esi, 0x10
je 0x4c17f8
inc esi
mov eax, 1
mov ecx, esi
shl eax, cl
cmp eax, edx
jne 0x4c17d0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x24]
mov eax, edi
mov ecx, esi
bswap edx
shr eax, cl
mov dword [ebp + 0x10], edx
cmp eax, edx
jae 0x4c1802
mov ebx, 1
jmp 0x4c2095
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
inc ecx
add edi, ecx
mov dword [ebp + 8], edx
mov eax, edi
mov dword [ebp - 0x1c], esi
mov ecx, 0x62
mul ecx
test edx, edx
ja 0x4c193b
jb 0x4c1846
cmp eax, dword [ebp - 0x4c]
jae 0x4c193b
lea ecx, [ebx + 0xc]
call fcn.004c5900
mov dword [ebx + 0x10], 0
cmp edi, dword [ebx + 0x14]
jbe 0x4c189c
cmp edi, 0x7fffffff
ja 0x4c2211
push dword [ebx + 0xc]
call fcn.00588148
mov ecx, 4
mov dword [ebx + 0xc], 0
mov eax, edi
mov dword [ebx + 0x14], 0
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0058813f
add esp, 8
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], edi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], 0
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], esi
cmp edi, dword [ebx + 8]
jbe 0x4c1932
cmp edi, 0x7fffffff
ja 0x4c2211
push dword [ebx]
call fcn.00588148
mov ecx, 0xc
mov dword [ebx], 0
mov eax, edi
mov dword [ebx + 8], 0
mul ecx
mov ecx, 0xffffffff
mov dword [ebp + 8], edi
cmovb eax, ecx
push eax
call fcn.0058813f
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0x10]
mov ecx, edi
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x4c1929
add eax, 8
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], esi
nop dword [eax]
mov dword [eax - 4], 0xffffffff
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0xffffffff
sub ecx, 1
jne 0x4c1910
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov dword [ebx], eax
mov dword [ebx + 8], edi
push edi
lea ecx, [ebp - 0x64]
call fcn.00439250
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x14], edi
test edx, edx
je 0x4c1958
push edx
call fcn.0058813f
mov edx, dword [ebp + 8]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
test edx, edx
je 0x4c196b
push edx
push 0
push edi
call fcn.0058ad30
mov edx, dword [ebp + 8]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov esi, dword [ebp - 0x30]
xor eax, eax
xor ecx, ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test esi, esi
je 0x4c1d8b
nop dword [eax + eax]
cmp esi, edx
jae 0x4c20b6
cmp byte [esi + edi], 0
jne 0x4c20b6
mov eax, dword [ebp - 0x1c]
mov ecx, eax
push eax
mov eax, dword [ebp - 0x50]
mov byte [esi + edi], 1
shl esi, cl
lea ecx, [ebp - 0x70]
add eax, esi
mov dword [ebp - 0x34], esi
push eax
call fcn.004c1620
test al, al
je 0x4c20b6
cmp byte [ebp - 0x6c], 0xff
jne 0x4c20b6
cmp dword [ebp - 0x68], 0
mov dword [ebp - 0x2c], 0
jbe 0x4c1d6e
mov ecx, dword [ebp - 0x1c]
mov eax, 1
shl eax, cl
xor edx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x50]
sub ecx, edx
add ecx, eax
movzx eax, byte [ecx + esi - 1]
add ecx, esi
movzx esi, byte [ecx - 2]
movzx edx, byte [ecx - 4]
shl esi, 8
or esi, eax
shl edx, 8
movzx eax, byte [ecx - 3]
or edx, eax
sub edx, esi
cmp edx, 6
jb 0x4c20b6
add esi, dword [ebp - 0x50]
add esi, dword [ebp - 0x34]
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 2]
bswap eax
mov dword [ebp - 0x38], eax
cmp ecx, 6
jb 0x4c20b6
test cl, 1
jne 0x4c20b6
lea eax, [ecx + 2]
cmp eax, edx
ja 0x4c20b6
movzx eax, byte [esi + 6]
add esi, 6
shl eax, 8
sub ecx, 6
mov dword [ebp + 0x10], eax
movzx eax, byte [esi + 1]
or dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x28], eax
cmp eax, ecx
jne 0x4c20b6
add eax, 2
add esi, eax
mov eax, 0xfffffff8
sub eax, dword [ebp - 0x28]
add edx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x40], edx
cmp edx, 2
jb 0x4c20b6
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl cx, 8
or cx, ax
movzx eax, cx
mov dword [ebp - 0x3c], eax
cmp eax, 1
je 0x4c1ae1
cmp eax, 2
jne 0x4c1d4f
cmp edx, 0x58
jb 0x4c20b6
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.00439780
push 0x70
call fcn.00587dd8
mov ebx, eax
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 5
push 8
mov dword [ebx], 0
call fcn.0058813f
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 3
mov word [eax], cx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x58], 0xffffffff
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], ecx
mov byte [ebp - 4], 4
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x10]
push ebx
lea eax, [ecx + 1]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x18]
mov dword [eax + ecx*4], ebx
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov word [ebx + 0x10], ax
mov eax, dword [esi + 8]
bswap eax
mov dword [ebx + 0x14], eax
mov eax, esi
sub eax, dword [ebp - 0x28]
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.004c16d0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, 1
ja 0x4c1c1e
test eax, eax
jne 0x4c1c04
cmp dword [ebp + 0x10], 0x15
jne 0x4c1c04
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x4c1c04
cmp dword [eax + 4], 0
jne 0x4c1c04
add eax, 8
mov byte [ebp + 0x13], 0x48
mov esi, str.HFS_Private_Data
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
shl dx, 8
or dx, cx
movzx ecx, byte [ebp + 0x13]
cmp dx, cx
jne 0x4c1c01
mov cl, byte [esi + 1]
inc esi
add eax, 2
mov byte [ebp + 0x13], cl
test cl, cl
jne 0x4c1bd0
push str._HFS_Private_Data_
mov ecx, ebx
call fcn.0046d270
mov esi, dword [ebp - 0x18]
cmp dword [ebx + 4], 0
je 0x4c1c12
mov eax, dword [ebx]
cmp word [eax], 0x20
jne 0x4c1c1e
push 0x5ce010
mov ecx, ebx
call fcn.0046d270
mov eax, dword [esi + 0xc]
bswap eax
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x10]
bswap eax
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x14]
bswap eax
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x18]
bswap eax
mov dword [ebx + 0x24], eax
movzx ecx, byte [esi + 0x2a]
movzx eax, byte [esi + 0x2b]
mov esi, dword [ebp - 0x10]
shl cx, 8
or cx, ax
mov word [ebx + 0x12], cx
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x10]
dec eax
push eax
push dword [ebx + 0x14]
call fcn.00438fc0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
add edx, 0x58
sub eax, 0x58
mov dword [ebp - 0x18], edx
cmp word [ebx + 0x10], 1
jne 0x4c1c8c
inc dword [ebp - 0x20]
test eax, eax
jne 0x4c20b6
mov ebx, esi
jmp 0x4c1d21
inc dword [ebp - 0x24]
cmp eax, 0xa0
jne 0x4c20b6
lea ecx, [ebx + 0x28]
push edx
call fcn.004c0df0
push dword [ebx + 0x14]
mov ecx, dword [esi + 0x38]
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
lea ecx, [ebx + 0x28]
call fcn.004c0e50
test al, al
je 0x4c1cca
push dword [ebp + 0x10]
lea ecx, [ebx + 0x28]
call fcn.004c0d90
test al, al
jne 0x4c1cce
mov byte [esi + 0x44], 1
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0x40]
add eax, 0x50
push eax
call fcn.004c0df0
mov eax, dword [ebx + 0x40]
or eax, dword [ebx + 0x44]
jne 0x4c1cef
cmp dword [ebx + 0x48], eax
jne 0x4c1cef
cmp dword [ebx + 0x50], eax
je 0x4c1c85
push dword [ebx + 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x40]
mov esi, dword [esi + 0x38]
add eax, 0xc
push eax
call fcn.004c0e50
test al, al
je 0x4c1d15
push esi
lea ecx, [ebx + 0x40]
call fcn.004c0d90
test al, al
jne 0x4c1d1e
mov ebx, dword [ebp - 0x10]
mov byte [ebx + 0x44], 1
jmp 0x4c1d21
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4c1d4f
mov eax, dword [ebx + 0x10]
test eax, 0xfff
jne 0x4c1d4f
push 0
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x58]
mov eax, dword [ecx]
push edx
push ecx
mov dword [ebp - 0x54], 0
call dword [eax + 0x10]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x4c1d7d
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
inc eax
mov esi, dword [ebp - 0x34]
add edx, 2
cmp eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], edx
jb 0x4c1a14
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x4c1d85
mov edx, dword [ebp + 8]
jmp 0x4c19b0
mov ebx, dword [ebp + 0x10]
jmp 0x4c207d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp dword [ebx + 0x30], eax
jne 0x4c1d98
mov eax, dword [ebx + 0x34]
inc eax
cmp eax, ecx
je 0x4c1d9c
mov byte [ebx + 0x44], 1
lea ecx, [ebp - 0x64]
call fcn.004c5af0
mov esi, dword [ebp - 0x60]
mov edx, 1
cmp esi, edx
jbe 0x4c1dc5
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + edx*8 - 8]
cmp eax, dword [ecx + edx*8]
je 0x4c20b6
inc edx
cmp edx, esi
jb 0x4c1db3
mov eax, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x34], esi
test eax, eax
je 0x4c1ddf
push eax
call fcn.0058813f
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 6
xor eax, eax
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x4c1dfc
nop dword [eax]
mov byte [esi + eax], 0
inc eax
mov edx, dword [ebx + 0x1c]
cmp eax, edx
jb 0x4c1df0
xor ecx, ecx
mov dword [ebp + 0xc], ecx
test edx, edx
je 0x4c1e70
mov eax, dword [ebx + 0x18]
xor edx, edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x60]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x4c1e5e
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 0x14], ecx
add ecx, edx
shr ecx, 1
mov dword [ebp - 0x44], ecx
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax]
cmp dword [edi], eax
mov edi, dword [ebp - 0x14]
je 0x4c20bd
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi]
cmp ebx, eax
mov edi, dword [ebp + 8]
cmovae ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x44]
inc eax
cmp ebx, dword [edi]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
cmovae edx, eax
cmp edx, ecx
jne 0x4c1e17
mov byte [ebx + 0x44], 1
mov eax, dword [ebp + 0xc]
inc eax
mov ecx, eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebx + 0x1c]
jb 0x4c1e05
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x60], 0
cmp eax, dword [ebp - 0x5c]
jbe 0x4c1ec7
cmp eax, 0x7fffffff
ja 0x4c2211
push dword [ebp - 0x64]
call fcn.00588148
mov eax, dword [ebp + 0xc]
mov ecx, 8
mul ecx
mov ecx, 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
cmovb eax, ecx
push eax
call fcn.0058813f
mov dword [ebp - 0x64], eax
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebx + 0x10], 0
jbe 0x4c1f65
xor edi, edi
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x64]
push dword [ebx + 4]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0xc], eax
push dword [eax + 0x14]
call fcn.00438fc0
sub esp, 0xc
mov dword [ebp - 0x6c], 0xffffffff
mov eax, esp
mov dword [ebp - 0x70], edi
movq xmm0, qword [ebp - 0x70]
mov ecx, ebx
movq qword [eax], xmm0
mov dword [eax + 8], 0xffffffff
call fcn.004c59a0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne 0x4c1f25
cmp dword [ecx + 0x48], eax
jne 0x4c1f25
cmp dword [ecx + 0x50], eax
je 0x4c1f58
cmp byte [ecx + 0x6e], 0
je 0x4c1f31
cmp byte [ecx + 0x6f], 0
jne 0x4c1f58
mov ecx, dword [ebx + 4]
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x6c], 0xfffffffe
movq xmm0, qword [ebp - 0x70]
dec ecx
mov byte [ebx + 0x46], 1
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, ebx
call fcn.004c59a0
inc edi
cmp edi, dword [ebx + 0x10]
jb 0x4c1ed3
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.004c5af0
cmp dword [ebx + 4], 0
jbe 0x4c1ffe
xor ecx, ecx
xor esi, esi
mov dword [ebp + 0xc], ecx
nop
mov eax, dword [ebx]
add eax, ecx
mov dword [ebp + 0x14], eax
cmp dword [eax + 4], 0xfffffffe
je 0x4c1fee
mov ecx, dword [eax]
xor edx, edx
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x4c1fe4
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
add ecx, edx
shr ecx, 1
mov dword [ebp - 0x40], ecx
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax]
cmp dword [ebp + 0x10], eax
je 0x4c2194
mov ebx, dword [ebp + 0x10]
cmp ebx, eax
mov edi, dword [ebp + 8]
cmovae ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
inc eax
cmp ebx, dword [edi]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
cmovae edx, eax
cmp edx, ecx
jne 0x4c1fa4
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], 0xffffffff
add dword [ebp + 0xc], 0xc
inc esi
mov ecx, dword [ebp + 0xc]
cmp esi, dword [ebx + 4]
jb 0x4c1f80
mov esi, dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
cmp dword [ebx + 0x1c], ecx
jbe 0x4c2072
cmp byte [esi + ecx], 0
jne 0x4c2069
mov eax, dword [ebx + 0x18]
xor edx, edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x4c2062
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 0x14], ecx
add ecx, edx
shr ecx, 1
mov dword [ebp - 0x44], ecx
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax]
cmp dword [ebp + 0x10], eax
je 0x4c21d1
mov ebx, dword [ebp + 0x10]
cmp ebx, eax
mov edi, dword [ebp + 8]
cmovae ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x44]
inc eax
cmp ebx, dword [edi]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
cmovae edx, eax
cmp edx, ecx
jne 0x4c2022
mov byte [ebx + 0x44], 1
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [ebx + 0x1c]
jb 0x4c2008
push esi
xor ebx, ebx
call fcn.00588148
add esp, 4
push 0
call fcn.00588148
push edi
call fcn.00588148
push dword [ebp - 0x64]
call fcn.00588148
add esp, 0xc
push dword [ebp - 0x50]
call fcn.00588148
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, 1
jmp 0x4c207d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
test eax, eax
js 0x4c1e5e
mov ecx, dword [ebp + 0x10]
mov edi, 0x63
mov eax, str.com.apple.decmpfs
mov dl, 0x63
mov ecx, dword [ecx + 0x28]
cmp di, word [ecx]
mov edi, dword [ebp - 0x14]
jne 0x4c1e62
nop dword [eax]
test dl, dl
je 0x4c210e
mov dl, byte [eax + 1]
inc eax
add ecx, 2
mov dword [ebp + 0x10], eax
movzx eax, dl
cmp ax, word [ecx]
mov eax, dword [ebp + 0x10]
je 0x4c20f0
jmp 0x4c1e62
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x18]
mov dword [ebp + 8], ecx
mov eax, dword [eax + edx*4]
mov byte [esi + edx], 0
cmp byte [ecx + 0x6d], 0
mov dword [ebp + 0x10], eax
jne 0x4c1e5e
mov eax, dword [ecx + 0x28]
or eax, dword [ecx + 0x2c]
jne 0x4c1e5e
cmp dword [ecx + 0x30], eax
jne 0x4c1e5e
cmp dword [ecx + 0x38], eax
jne 0x4c1e5e
mov eax, dword [ebp + 0x10]
add ecx, 0x60
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004c0fe0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x6d], 0
je 0x4c1e62
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x58], ecx
mov byte [esi + ecx], 1
mov ecx, dword [eax + 0x68]
cmp ecx, 0x20
jae 0x4c1e62
mov eax, dword [ebx + 0x78]
bts eax, ecx
mov dword [ebx + 0x78], eax
jmp 0x4c1e62
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov dword [edx + 8], eax
test eax, eax
js 0x4c1fee
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*4]
cmp word [eax + 0x10], 1
je 0x4c1fee
mov dword [edx + 8], 0xffffffff
mov byte [ebx + 0x44], 1
jmp 0x4c1fee
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
test edx, edx
js 0x4c2062
mov eax, dword [ebp + 0xc]
lea ecx, [edx + edx*2]
mov dword [ebp - 0x6c], eax
sub esp, 0xc
mov byte [ebx + 0x46], 1
mov eax, dword [ebx]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov dword [ebp - 0x70], eax
mov eax, esp
movq xmm0, qword [ebp - 0x70]
movq qword [eax], xmm0
mov dword [eax + 8], edx
call fcn.004c59a0
jmp 0x4c2066
push 0x5f79a8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x7e5
push eax
call fcn.0058acc1
int3