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

Disassembly:
push 0xffffffffffffffff
push 0x62a408
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x508], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x520]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], ebp
call fcn.0045a180
xor edi, edi
mov dword [esp + 0x528], edi
mov edx, dword [esp + 0x530]
push edi
lea eax, [esp + 0x58]
push eax
lea ecx, [ebp + 8]
push edx
mov dword [esp + 0x24], ecx
call fcn.005cba30
test al, al
je 0x4c2c43
xor eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
mov word [esp + 0x34], ax
mov byte [esp + 0x528], 1
mov ecx, dword [esp + 0xb0]
push ecx
lea ecx, [esp + 0x34]
call fcn.004017d0
mov eax, dword [esp + 0xb0]
xor edx, edx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
mov word [esp + 0x50], dx
call fcn.004017d0
mov byte [esp + 0x528], 2
cmp byte [esp + 0x92], 4
mov byte [esp + 0x17], 1
je 0x4c2c01
mov al, byte [esp + 0x91]
mov bl, 3
cmp al, 1
je 0x4c25bd
cmp al, bl
je 0x4c25bd
cmp al, 6
jne 0x4c25c2
mov byte [esp + 0x17], 0
cmp dword [esp + 0xc4], edi
je 0x4c25df
mov eax, dword [esp + 0xbc]
cmp eax, edi
jne 0x4c25eb
lea eax, [esp + 0xc0]
jmp 0x4c25eb
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x4c25eb
lea eax, [esp + 0x34]
push 0x100
lea ecx, [esp + 0x120]
push ecx
push 0x100
lea edx, [esp + 0x328]
push edx
push edi
push edi
push edi
push edi
push eax
call fcn.005fb587
add esp, 0x24
test eax, eax
jne 0x4c2c21
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x294]
cmp eax, edi
jne 0x4c28c1
lea ecx, [esp + 0x11c]
push 0x2e
push ecx
call fcn.005f80fb
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4c264b
add esi, 2
xor edx, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov word [esp + 0x40], dx
mov byte [esp + 0x528], bl
cmp dword [ebp + 0x1a4], edi
je 0x4c2760
lea ecx, [esp + 0x20]
call fcn.004024e0
mov byte [esp + 0x528], 4
cmp esi, edi
je 0x4c268c
push esi
lea ecx, [esp + 0x24]
call fcn.0040e2d0
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov byte [esp + 0x528], 5
mov eax, dword [esp + 0xa4]
push 0x64f8d0
push eax
call fcn.005f9c10
add esp, 8
cmp eax, edi
je 0x4c26df
add eax, 3
push eax
lea ecx, [esp + 0x20]
push 0x64edec
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x28]
push 0x2f
push edx
call fcn.005f9b50
add esp, 0x14
cmp eax, edi
je 0x4c26df
mov byte [eax], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0x1a4]
push edx
push eax
call fcn.004b55e0
test al, al
jne 0x4c2715
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x7c], edi
call fcn.0044a2c0
add esp, 4
jmp 0x4c271d
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x24], eax
je 0x4c273d
mov edx, dword [esp + 0x530]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.005ca880
mov byte [esp + 0x528], 4
lea ecx, [esp + 0x1c]
call fcn.00402550
mov byte [esp + 0x528], bl
lea ecx, [esp + 0x20]
call fcn.00402550
jmp 0x4c276d
lea eax, [esp + 0x3c]
push eax
call fcn.0044a2c0
add esp, 4
mov ebp, dword [esp + 0x3c]
mov eax, ebp
cmp ebp, edi
jne 0x4c277b
lea eax, [esp + 0x40]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4c2780
sub eax, edx
sar eax, 1
mov ebx, eax
mov ecx, 0x103
sub ecx, ebx
cmp ecx, 0x100
jbe 0x4c27a5
mov ecx, 0x100
lea eax, [esp + 0x31c]
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x4c27b0
sub eax, esi
sar eax, 1
mov esi, eax
lea eax, [esp + 0x11c]
lea edi, [eax + 2]
jmp 0x4c27d0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4c27d0
sub eax, edi
sar eax, 1
add eax, esi
cmp eax, ecx
jbe 0x4c285d
lea eax, [esp + 0x11c]
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4c27f0
sub eax, esi
sar eax, 1
cmp eax, 5
jbe 0x4c280e
xor edx, edx
mov word [esp + 0x126], dx
lea eax, [esp + 0x11c]
lea esi, [eax + 2]
jmp 0x4c2820
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4c2820
sub eax, esi
sar eax, 1
sub ecx, eax
lea eax, [esp + 0x31c]
lea esi, [eax + 2]
jmp 0x4c2840
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4c2840
sub eax, esi
sar eax, 1
cmp eax, ecx
jbe 0x4c285d
xor eax, eax
mov word [esp + ecx*2 + 0x31c], ax
mov eax, ebp
test ebp, ebp
jne 0x4c2867
lea eax, [esp + 0x40]
cmp word [eax + ebx*2 - 2], 0x5c
mov ecx, 0x64fbb8
je 0x4c2879
mov ecx, 0x64f8c0
mov eax, ebp
test ebp, ebp
jne 0x4c2883
lea eax, [esp + 0x40]
push 0
lea edx, [esp + 0x120]
push edx
lea edx, [esp + 0x324]
push edx
push ecx
push eax
push str._s_s_s_s
lea ecx, [esp + 0x48]
call fcn.0043a620
mov byte [esp + 0x528], 2
lea ecx, [esp + 0x3c]
call fcn.004011f0
mov ebp, dword [esp + 0x28]
xor edi, edi
jmp 0x4c2a6c
mov ebx, 0x5c
cmp eax, 2
jne 0x4c299a
mov eax, dword [ebp + 0x298]
cmp eax, edi
jne 0x4c28df
lea eax, [ebp + 0x29c]
push eax
lea ecx, [esp + 0x40]
call fcn.00402160
mov byte [esp + 0x528], 6
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, edi
jne 0x4c28ff
lea eax, [esp + 0x40]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4c2902
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x4c291b
lea ecx, [esp + 0x40]
cmp word [ecx + eax*2 - 2], bx
mov ecx, 0x64fbb8
je 0x4c292c
mov ecx, 0x64f8c0
mov eax, edx
cmp edx, edi
jne 0x4c2936
lea eax, [esp + 0x40]
push edi
lea edx, [esp + 0x120]
push edx
lea edx, [esp + 0x324]
push edx
push ecx
push eax
push str._s_s_s_s
lea ecx, [esp + 0x48]
call fcn.0043a620
cmp byte [ebp + 0x2a4], 0
je 0x4c2989
lea eax, [esp + 0x11c]
push eax
mov eax, dword [esp + 0x534]
lea ecx, [esp + 0x320]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call fcn.004c1ba0
mov byte [esp + 0x528], 2
lea ecx, [esp + 0x3c]
call fcn.004011f0
cmp dword [ebp + 0x294], 1
jne 0x4c2a6c
mov eax, dword [ebp + 0x2a8]
cmp eax, edi
jne 0x4c29b7
lea eax, [ebp + 0x2ac]
push eax
lea ecx, [esp + 0x40]
call fcn.00402160
mov byte [esp + 0x528], 7
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, edi
jne 0x4c29d7
lea eax, [esp + 0x40]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4c29e0
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x4c29f9
lea ecx, [esp + 0x40]
cmp word [ecx + eax*2 - 2], bx
mov ecx, 0x64fbb8
je 0x4c2a0a
mov ecx, 0x64f8c0
mov eax, edx
cmp edx, edi
jne 0x4c2a14
lea eax, [esp + 0x40]
push edi
lea edx, [esp + 0x120]
push edx
lea edx, [esp + 0x324]
push edx
push ecx
push eax
push str._s_s_s_s
lea ecx, [esp + 0x48]
call fcn.0043a620
mov eax, dword [ebp + 0x2b4]
mov dword [esp + 0x78], eax
cmp dword [esp + 0x24], eax
je 0x4c2a5b
mov ecx, dword [esp + 0x530]
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.005ca880
mov byte [esp + 0x528], 2
lea ecx, [esp + 0x3c]
call fcn.004011f0
cmp byte [esp + 0x17], 0
je 0x4c2a8d
mov eax, dword [esp + 0x530]
mov ecx, dword [esp + 0x6c]
push edi
lea edx, [esp + 0x34]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004bf2c0
mov esi, dword [esp + 0x48]
mov ecx, esi
cmp esi, edi
jne 0x4c2a9b
lea ecx, [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov eax, ebx
cmp ebx, edi
jne 0x4c2ab0
lea eax, [esp + 0x34]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c2ad6
cmp dx, di
je 0x4c2ad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c2ad6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4c2ab0
xor eax, eax
jmp 0x4c2adb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x4c2b23
push ebx
lea ecx, [esp + 0xb4]
call fcn.004017d0
mov ebx, dword [esp + 0x530]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
push ebx
mov ecx, esi
call fcn.005ca880
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x4c2b10
lea eax, [esp + 0x34]
push 1
push ebx
push eax
mov ecx, esi
call fcn.005cca60
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4c2bf8
mov ecx, esi
test esi, esi
jne 0x4c2b39
lea ecx, [esp + 0x4c]
mov eax, ebx
test ebx, ebx
jne 0x4c2b43
lea eax, [esp + 0x34]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c2b69
test dx, dx
je 0x4c2b65
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c2b69
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c2b43
xor eax, eax
jmp 0x4c2b6e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c2b7c
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x24], eax
je 0x4c2bf8
mov ecx, dword [esp + 0x28]
push edi
call fcn.004be1b0
test eax, eax
je 0x4c2bf4
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x4c2b96
lea esi, [esp + 0x4c]
mov ebp, dword [esp + 0x30]
mov edx, ebp
test ebp, ebp
jne 0x4c2ba4
lea edx, [esp + 0x34]
mov di, word [edx]
cmp di, word [esi]
jne 0x4c2bca
test di, di
je 0x4c2bc6
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x4c2bca
add edx, 4
add esi, 4
test di, di
jne 0x4c2ba4
xor edx, edx
jmp 0x4c2bcf
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x4c2be8
mov edx, ebp
test ebp, ebp
jne 0x4c2bdd
lea edx, [esp + 0x34]
push edx
lea ecx, [eax + 0x20]
call fcn.005b1480
jmp 0x4c2bf4
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, eax
call fcn.0059ab90
mov ebx, dword [esp + 0x30]
cmp byte [esp + 0x17], 0
je 0x4c2c21
jmp 0x4c2c05
mov ebx, dword [esp + 0x30]
mov eax, ebx
test ebx, ebx
jne 0x4c2c0f
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x530]
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.005ccae0
mov byte [esp + 0x528], 1
lea ecx, [esp + 0x48]
call fcn.004011f0
mov byte [esp + 0x528], 0
lea ecx, [esp + 0x30]
call fcn.004011f0
mov dword [esp + 0x528], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.0045a2d0
mov ecx, dword [esp + 0x520]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.005f85e7
add esp, 0x518
ret 4