Function at 0x4c7110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], eax
or eax, 0xffffffff
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x58], esi
push edi
mov edi, edx
mov dword [esp + 0x78], eax
cmp dword [esi + 0x24], 0
mov dword [esp + 0x74], eax
mov byte [esp + 0x13], al
mov byte [esp + 0x23], al
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esi]
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], eax
jne 0x4c81c5
cmp byte [eax + 0x51], 0
jne 0x4c81c5
mov ecx, dword [ebp + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x4c71cc
test dword [ecx + 4], 0x200
je 0x4c71cc
cmp dword [ecx + 0x34], 0
jne 0x4c71cc
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x60], edx
mov edx, ecx
mov dword [ecx + 0x1c], 0
mov ecx, eax
push 1
call fcn.004d0490
add esp, 4
mov dword [esp + 0xc], 0
mov edx, edi
mov ecx, esi
call fcn.004bfae0
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x4c75a5
mov ecx, dword [edi + 0x48]
mov edx, 0xffff8000
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x4c7213
mov eax, dword [esp + 0x50]
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4c7213
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4c7207
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x50]
mov ecx, edx
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push dword [edi]
call fcn.004b8240
add esp, 0xc
test eax, eax
jne 0x4c75a5
mov eax, dword [edi + 0x24]
mov edx, edi
shr eax, 7
mov ecx, esi
and eax, 0xffffff01
mov dword [esp + 0x64], eax
lea eax, [esp + 0x70]
push eax
push 0
push 0x7d
call fcn.004dbee0
add esp, 0xc
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.004bb8c0
test eax, eax
jne 0x4c75a5
push dword [esp + 0x70]
mov edx, edi
mov ecx, esi
call fcn.004bfbf0
add esp, 4
test eax, eax
jne 0x4c75a5
mov ecx, esi
call fcn.004d35b0
mov dword [esp + 8], eax
test eax, eax
je 0x4c75a5
cmp byte [esi + 0x12], 0
jne 0x4c72ba
or dword [eax + 0x98], 0x10
cmp dword [esp + 0xc], 0
jne 0x4c72cf
cmp dword [esp + 0x84], 0
jne 0x4c72cf
xor edx, edx
jmp 0x4c72d4
mov edx, 1
push dword [esp + 0x1c]
mov ecx, esi
call fcn.004be6c0
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x4c7307
push dword [esp + 0x1c]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x14]
call fcn.004ca7a0
add esp, 0xc
test eax, eax
jne 0x4c8157
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edi
call fcn.004c6d30
mov ecx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x7c], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x6c], eax
movsx eax, word [edi + 0x2a]
inc eax
mov dword [esp + 0x28], edx
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [edi + 0x38], 0
je 0x4c7345
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x28], edx
mov dword [esi + 0x2c], eax
test dword [edi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp + 0xc]
sete byte [esp + 0x1b]
mov dword [esp + 0x4c], eax
test edx, edx
je 0x4c747e
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x4c7380
nop word [eax + eax]
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x4c7370
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edx + 4], ecx
jle 0x4c747e
mov edx, dword [esp + 0x24]
movsx eax, word [edx + 0x2a]
xor edi, edi
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4c742e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
nop dword [eax + eax]
mov edx, dword [eax]
mov ecx, dword [ecx]
call fcn.00479de0
test eax, eax
je 0x4c73e9
mov eax, dword [esp + 0x40]
inc edi
mov ecx, dword [esp + 0x44]
add eax, 0x14
mov dword [esp + 0x40], eax
cmp edi, dword [esp + 0x34]
jl 0x4c73c0
mov edx, dword [esp + 0x24]
jmp 0x4c742a
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp dword [esp + 0x14], edi
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edi
movzx eax, byte [esp + 0x1b]
cmove ecx, eax
movsx eax, word [edx + 0x28]
mov byte [esp + 0x1b], cl
cmp edi, eax
mov ecx, dword [esp + 0x30]
cmove ecx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + 0x30], ecx
lea ecx, [edi + edi*4]
test byte [eax + ecx*4 + 0x10], 0x60
jne 0x4c7591
mov ecx, dword [esp + 0x14]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x4c7469
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx + edi*8]
call fcn.004adc40
test eax, eax
je 0x4c764f
cmp byte [esp + 0x64], 0
jne 0x4c764f
mov edx, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x30], ecx
mov byte [esp + 0x1b], 0
mov eax, dword [ebp + 0xc]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x4c7393
mov edi, dword [esp + 0x24]
cmp dword [esp + 0xc], 0
je 0x4c7746
mov ecx, dword [esp + 8]
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x44], eax
inc eax
push eax
push 0
push edx
mov edx, 0xd
call fcn.00495a30
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dl, byte [esp + 0x1b]
mov ecx, esi
mov dword [esp + 0x94], eax
xor eax, eax
test dl, dl
mov byte [esp + 0x90], 0xd
mov edx, dword [esp + 0xc]
cmovne eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
movsx eax, word [edi + 0x2a]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa8], 0
call fcn.004d8690
mov ecx, dword [esp + 0xa0]
add esp, 4
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x4c75a5
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x51], 0
jne 0x4c75a5
cmp dword [esi + 0x24], 0
jne 0x4c75a5
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 8]
call fcn.00496180
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 8]
call fcn.004964d0
cmp dword [esp + 0x84], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jne 0x4c7674
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edi
call fcn.004c6a50
add esp, 4
test eax, eax
jne 0x4c7674
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x54], eax
jmp 0x4c7794
lea ecx, [edi + edi*4]
push dword [eax + ecx*4]
push str.misuse_of_aggregate:__s__
push esi
call fcn.00479ca0
add esp, 0xc
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x68]
call fcn.004bdf40
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c75c9
mov edx, eax
mov ecx, esi
call fcn.004ad5b0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c761c
mov edx, dword [eax]
test edx, edx
je 0x4c75e0
mov ecx, esi
call fcn.004ad5b0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
je 0x4c75f1
mov ecx, esi
call fcn.004ac4d0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x4c7602
mov ecx, esi
call fcn.004ad5b0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4c7613
mov ecx, esi
call fcn.004ac4d0
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, esi
call fcn.00476790
test edi, edi
je 0x4c762e
push 1
mov edx, edi
mov ecx, esi
call fcn.004d0490
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.004bdb90
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c7649
mov edx, eax
mov ecx, esi
call fcn.00476790
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax + edi*8]
push 0
push dword [esp + 0x70]
push 0x66b228
push esi
call fcn.00479ca0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4c75a5
mov edx, dword [esi + 0x28]
mov ecx, esi
mov byte [esp + 0x13], 1
mov dword [esp + 0x38], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
call fcn.004b3540
mov edi, eax
call fcn.004b3540
push dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push edx
mov edx, 0x64
mov dword [esp + 0x24], eax
call fcn.00495b60
mov eax, dword [esp + 0x9c]
mov edx, 0xe
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x60], eax
call fcn.00495b00
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, 0x5b
mov esi, eax
push edi
push dword [esp + 0x38]
push dword [esp + 0x44]
call fcn.00495a30
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, 0x78
push dword [esp + 0x1c]
push dword [esp + 0x3c]
call fcn.00495b60
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, 0x79
push edi
push dword [esp + 0x48]
call fcn.00495a30
mov ecx, dword [esp + 0x1c]
add esp, 0x14
mov edx, esi
call fcn.00495bd0
mov ecx, dword [esp + 8]
mov edx, esi
call fcn.004964d0
mov esi, dword [esp + 0x5c]
mov edx, edi
mov ecx, esi
call fcn.004b3560
mov edx, dword [esp + 0x1c]
call fcn.004b3560
mov edi, dword [esp + 0x34]
jmp 0x4c7794
mov eax, dword [esp + 0x60]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4c778e
mov edi, dword [eax]
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp + 0x34], edi
call fcn.004ab1b0
test eax, eax
jne 0x4c75a5
jmp 0x4c7794
xor edi, edi
mov dword [esp + 0x34], edi
cmp dword [ebp + 0xc], 0
jne 0x4c77fb
test edi, edi
mov edi, dword [esp + 0x24]
jle 0x4c77ff
movsx ecx, word [edi + 0x28]
mov dword [esp + 0x30], ecx
test ecx, ecx
js 0x4c77ff
test byte [edi + 0x24], 0x60
je 0x4c77ff
lea edx, [ecx - 1]
test edx, edx
js 0x4c77ff
mov eax, dword [edi + 4]
lea esi, [edx + 1]
lea esi, [edx + esi*4]
lea esi, [eax + esi*4]
nop word [eax + eax]
mov ax, word [esi]
lea esi, [esi - 0x14]
and ax, 0x60
movzx ecx, ax
mov eax, dword [esp + 0x30]
dec eax
test cx, cx
cmove eax, dword [esp + 0x30]
sub edx, 1
mov ecx, eax
mov dword [esp + 0x30], ecx
jns 0x4c77d0
mov esi, dword [esp + 0x5c]
jmp 0x4c77ff
mov edi, dword [esp + 0x24]
movsx eax, word [edi + 0x2a]
test eax, eax
jle 0x4c783a
mov edx, dword [edi + 4]
mov esi, eax
add edx, 0x10
xor ecx, ecx
mov ax, word [edx]
lea edx, [edx + 0x14]
and ax, 0x62
inc ecx
movzx eax, ax
test ax, ax
cmove ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
sub esi, 1
jne 0x4c7811
mov esi, dword [esp + 0x5c]
movsx eax, word [edi + 0x2a]
jmp 0x4c783c
xor ecx, ecx
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4c786c
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4c788c
sub eax, ecx
cmp edx, eax
je 0x4c788c
push edx
push eax
push 0
push dword [esp + 0x74]
push 0x66b248
push esi
call fcn.00479ca0
add esp, 0x18
jmp 0x4c75a5
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x34]
cmp edx, eax
je 0x4c788c
push eax
push edx
push 0x66b27c
push esi
call fcn.00479ca0
add esp, 0x10
jmp 0x4c75a5
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4c78c9
cmp byte [esi + 0x12], 0
jne 0x4c78c9
cmp dword [esi + 0x78], 0
jne 0x4c78c9
inc dword [esi + 0x2c]
mov edx, 0x45
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 8]
push eax
push 0
mov dword [esp + 0x94], eax
call fcn.00495b60
add esp, 8
cmp dword [esp + 0x88], 0
jne 0x4c7955
lea eax, [esp + 0x80]
mov edx, edi
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
call fcn.004ca470
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x44], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.00476a20
add esp, 0x20
mov dword [esp + 0x58], eax
test eax, eax
je 0x4c75a5
mov edx, dword [edi + 8]
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
jle 0x4c7948
inc dword [esi + 0x2c]
mov edi, dword [esp + 0x58]
mov eax, dword [esi + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [esi + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, dword [esp + 0x2c]
jl 0x4c7926
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c79d1
cmp dword [edi + 0x38], 0
je 0x4c796e
push dword [edi]
push 0x66b298
jmp 0x4c759c
cmp dword [edi + 0xc], 0
je 0x4c7987
push 0x66b2c8
push esi
call fcn.00479ca0
add esp, 8
jmp 0x4c75a5
mov edx, dword [eax]
mov ecx, esi
call fcn.004bcb80
test eax, eax
jne 0x4c75a5
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x34], edx
cmp dword [eax], 0
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
je 0x4c79d1
mov edx, dword [esp + 0x68]
mov ecx, esi
push eax
call fcn.004dfc40
add esp, 4
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 8]
je 0x4c79fe
push dword [esp + 0x38]
mov edx, 0x25
call fcn.00495b00
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x74], eax
jmp 0x4c7a46
cmp dword [esp + 0xc], 0
je 0x4c7a46
push dword [esp + 0x54]
mov edx, 0xe
call fcn.00495b00
mov dword [esp + 0x78], eax
add esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4c7a42
mov ecx, dword [esp + 0x3c]
mov edx, 0x4d
push dword [esp + 0x28]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00495b60
add esp, 8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
cmp ax, word [edi + 0x2a]
jge 0x4c7be4
mov dword [esp + 0x40], eax
jmp 0x4c7a74
mov ecx, dword [esp + 8]
movsx eax, word [edi + 0x28]
mov esi, dword [esp + 0x5c]
cmp dword [esp + 0x1c], eax
jne 0x4c7a92
push edx
mov edx, 0x49
call fcn.00495b00
jmp 0x4c7bbe
mov eax, dword [edi + 4]
add eax, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x54], eax
movzx eax, word [eax + 0x10]
test al, 0x62
je 0x4c7af0
inc dword [esp + 0x44]
test al, 0x20
je 0x4c7ab7
dec edx
jmp 0x4c7bc5
test al, 0x40
je 0x4c7ad6
test byte [esp + 0x70], 1
je 0x4c7bc5
push edx
mov edx, 0x49
call fcn.00495b00
jmp 0x4c7bbe
cmp dword [ebp + 0xc], 0
jne 0x4c7af6
push edx
mov edx, dword [esp + 0x58]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.004b1b40
jmp 0x4c7bbe
cmp dword [ebp + 0xc], 0
je 0x4c7b43
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jle 0x4c7b2e
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4c7b22
inc eax
add ecx, 8
cmp eax, dword [esi + 4]
jl 0x4c7b15
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jl 0x4c7b63
push edx
mov edx, dword [esp + 0x58]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.004b1b40
jmp 0x4c7bbe
cmp dword [esp + 0x34], 0
jne 0x4c7b5b
push edx
mov edx, dword [esp + 0x58]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.004b1b40
jmp 0x4c7bbe
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x44]
cmp byte [esp + 0x13], 0
je 0x4c7b83
mov ecx, dword [esp + 8]
push edx
push eax
push dword [esp + 0x40]
mov edx, 0x59
call fcn.00495a30
add esp, 0xc
jmp 0x4c7bc1
cmp dword [esp + 0xc], 0
je 0x4c7bab
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x4c]
je 0x4c7bc5
push edx
add eax, ecx
mov edx, 0x4e
mov ecx, dword [esp + 0xc]
push eax
call fcn.00495b60
add esp, 8
jmp 0x4c7bc1
push edx
lea edx, [eax + eax*4]
mov ecx, esi
mov eax, dword [esp + 0x64]
mov edx, dword [eax + edx*4 + 4]
call fcn.004b1aa0
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc edx
movsx eax, word [edi + 0x2a]
inc ecx
add dword [esp + 0x40], 0x14
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
cmp ecx, eax
jl 0x4c7a70
dec dword [esi + 0x38]
test byte [esp + 0x70], 1
mov eax, dword [esi + 0x38]
mov dword [esp + 0x3c], eax
je 0x4c7d90
movsx edx, word [edi + 0x2a]
mov ecx, esi
inc edx
call fcn.004b3580
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
push eax
test ecx, ecx
jns 0x4c7c2a
mov ecx, dword [esp + 0xc]
mov edx, 0x45
push 0xffffffffffffffff
call fcn.00495b60
add esp, 8
jmp 0x4c7cd8
cmp byte [esp + 0x17], 0
je 0x4c7c49
push ecx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, 0x59
call fcn.00495a30
add esp, 0xc
jmp 0x4c7c5e
mov eax, dword [esp + 0x64]
lea edx, [ecx + ecx*4]
mov ecx, esi
mov edx, dword [eax + edx*4 + 4]
call fcn.004b1aa0
add esp, 4
push dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, 0x33
call fcn.00495b00
mov ecx, dword [esp + 0xc]
add esp, 4
mov edx, 0x45
mov dword [esp + 0x2c], eax
push dword [esp + 0x14]
push 0xffffffffffffffff
call fcn.00495b60
mov edx, dword [esp + 0x10]
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 0x6c]
mov dword [esp + 0x70], eax
test ecx, ecx
jns 0x4c7ca4
lea ecx, [eax - 1]
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4c7cb3
mov eax, 0x68632c
jmp 0x4c7cbc
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x70]
mov edx, 0xf
push dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
call fcn.00495b00
add esp, 4
movsx eax, word [edi + 0x2c]
mov edx, 0x4d
mov ecx, dword [esp + 0x14]
dec eax
inc ecx
push eax
push ecx
push dword [esp + 0x54]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
call fcn.00495a30
add esp, 0xc
test byte [edi + 0x24], 0x60
je 0x4c7d12
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edi
call fcn.004c6b60
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x4c7d2e
push dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.004c6970
add esp, 4
push dword [esp + 0x3c]
movsx eax, word [edi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x8c]
sub ecx, eax
dec ecx
push ecx
push edi
push 1
push 0
push 0x7d
mov ecx, esi
call fcn.004dc7e0
movsx eax, word [edi + 0x2a]
add esp, 0x1c
inc eax
cmp eax, 1
jne 0x4c7d81
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4c7d90
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4c7d90
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
jmp 0x4c7d90
cmp eax, dword [esi + 0x1c]
jle 0x4c7d90
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], eax
cmp dword [esp + 0x88], 0
jne 0x4c803c
cmp dword [edi + 0x38], 0
je 0x4c7dbb
push dword [esp + 0x6c]
mov ecx, dword [esp + 0xc]
mov edx, 0x48
push 0
call fcn.00495b60
add esp, 8
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4c7e93
cmp byte [esp + 0x13], 0
je 0x4c7dea
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0x59
push eax
push dword [esp + 0x40]
call fcn.00495a30
add esp, 0xc
jmp 0x4c7e19
cmp dword [esp + 0xc], 0
jne 0x4c7e19
mov edx, dword [esp + 0x60]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 4]
cmp byte [edx], 0x77
jne 0x4c7e0b
cmp dword [edi + 0x38], 0
je 0x4c7ea0
push dword [esp + 0x28]
mov ecx, esi
call fcn.004b1aa0
add esp, 4
cmp dword [edi + 0x38], 0
mov ecx, dword [esp + 8]
jne 0x4c7e64
push dword [esp + 0x28]
mov edx, 0x33
call fcn.00495b00
mov ecx, dword [esp + 0xc]
add esp, 4
mov edx, 0x78
mov esi, eax
push dword [esp + 0x7c]
push dword [esp + 0x2c]
push dword [esp + 0x50]
call fcn.00495a30
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, esi
call fcn.004964d0
mov esi, dword [esp + 0x5c]
jmp 0x4c7e7c
mov eax, dword [ecx + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push dword [esp + 0x2c]
call fcn.00495b60
add esp, 8
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0xf
call fcn.00495b00
add esp, 4
jmp 0x4c7edb
cmp dword [edi + 0x38], 0
jne 0x4c7ec4
cmp byte [esp + 0x64], 0
jne 0x4c7ec4
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc]
mov edx, 0x78
push dword [esp + 0x2c]
push dword [esp + 0x50]
call fcn.00495a30
add esp, 0xc
mov byte [esp + 0x23], 1
jmp 0x4c7edb
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0x48
push 0
call fcn.00495b60
add esp, 8
push dword [esp + 0x28]
mov edx, dword [esp + 0x80]
mov ecx, esi
call fcn.004c6f40
add esp, 4
test byte [edi + 0x24], 0x60
je 0x4c7f05
mov edx, dword [esp + 0x4c]
mov ecx, esi
push edi
call fcn.004c6b60
add esp, 4
cmp dword [edi + 0x38], 0
je 0x4c7f9c
mov edi, dword [edi + 0x40]
test edi, edi
je 0x4c7f2b
mov eax, dword [esp + 0x50]
nop word [eax + eax]
cmp dword [edi], eax
je 0x4c7f2b
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4c7f20
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.004e1fb0
mov ecx, dword [esp + 8]
mov edx, 0xa
push 0xfffffffffffffff4
push edi
mov edi, dword [esp + 0x2c]
push dword [esp + 0x74]
movsx eax, word [edi + 0x2a]
add eax, 2
push eax
push 1
call fcn.00495e50
mov eax, dword [esp + 0x1c]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x4c7f89
mov edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
cmp dword [ebp + 0x10], 0xb
mov eax, dword [eax + 0x68]
movzx edx, dx
mov dword [esp + 0x64], 2
cmove edx, dword [esp + 0x64]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0x74]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4c803c
push dword [ebp + 0x14]
lea eax, [esp + 0x68]
mov edx, edi
push 0
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, esi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x88]
push dword [esp + 0xa0]
push dword [esp + 0x6c]
push dword [esp + 0x80]
call fcn.004c8210
add esp, 0x2c
mov edx, edi
mov ecx, esi
push 0
push 0
push dword [esp + 0x74]
push 0
call fcn.004c5700
add esp, 0x10
cmp dword [esp + 0x64], 0
je 0x4c800f
mov eax, dword [esp + 8]
cmp dword [eax + 0xd8], 0
je 0x4c800f
xor eax, eax
jmp 0x4c8014
mov eax, 1
push eax
movzx eax, byte [esp + 0x27]
mov edx, edi
push eax
push 0
push dword [esp + 0x64]
mov ecx, esi
push dword [esp + 0x7c]
push dword [esp + 0x94]
push dword [esp + 0x60]
call fcn.004ca1c0
add esp, 0x1c
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4c805b
mov ecx, dword [esp + 8]
mov edx, 0x52
push 1
push eax
call fcn.00495b60
add esp, 8
mov edx, dword [esp + 0x84]
test edx, edx
je 0x4c808c
push dword [esp + 0x3c]
movsx eax, word [edi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
sub ecx, eax
sub ecx, 2
push ecx
push edi
push 2
push 0
push 0x7d
mov ecx, esi
call fcn.004dc7e0
add esp, 0x1c
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x3c]
not edx
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c80ae
push edx
mov edx, edi
call fcn.004961f0
add esp, 4
jmp 0x4c80b7
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x13], 0
je 0x4c8116
push dword [esp + 0x74]
mov edx, 5
mov ecx, edi
push dword [esp + 0x3c]
call fcn.00495b60
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4c80e6
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4c80f5
mov eax, 0x68632c
jmp 0x4c80fe
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
push dword [esp + 0x38]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, 0x74
call fcn.00495b00
add esp, 4
jmp 0x4c815b
cmp dword [esp + 0xc], 0
je 0x4c815b
mov edx, dword [esp + 0x74]
mov ecx, edi
call fcn.00495bd0
mov ecx, dword [esp + 0x78]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4c8136
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4c8148
mov eax, 0x68632c
mov dword [eax + 8], edx
jmp 0x4c815b
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c815b
mov edi, dword [esp + 8]
cmp byte [esi + 0x12], 0
jne 0x4c8174
cmp dword [esi + 0x78], 0
jne 0x4c8174
cmp dword [esi + 0x70], 0
je 0x4c8174
mov ecx, esi
call fcn.004c6fb0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4c75a5
push 1
push eax
mov edx, 0x50
mov ecx, edi
call fcn.00495b60
add esp, 8
mov edx, 1
mov ecx, edi
call fcn.00497b40
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4c75a5
mov ecx, dword [edi + 0x74]
mov edx, 0x66b2e0
push 0
push 1
push 0xffffffffffffffff
call fcn.00494db0
jmp 0x4c75a2
mov edi, dword [ebp + 8]
jmp 0x4c75a9