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

Disassembly:
push 0xffffffffffffffff
push 0x4d6cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, edx
mov edi, ecx
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
lea esi, [ecx + 0x20]
cmp edi, ebp
je 0x4c3b59
mov eax, dword [eax + 0xc]
mov bl, byte [esp + 0x78]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
cmp dword [ecx + 8], edx
jbe 0x4c3776
nop
cmp word [esi], 0
jne 0x4c36f0
mov edi, dword [esp + 0x18]
movzx eax, word [edi]
test bl, bl
je 0x4c36c9
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
mov edx, dword [edx]
call fcn.004d6400
mov edx, dword [esp + 0x14]
movzx ecx, ax
jmp 0x4c36cb
mov ecx, eax
movzx eax, word [esi]
cmp cx, ax
je 0x4c37f1
test ax, ax
jne 0x4c3764
add esi, 2
cmp word [esi], 0
je 0x4c36e0
jmp 0x4c3764
cmp edi, ebp
je 0x4c3742
movzx eax, word [edi]
test bl, bl
je 0x4c370d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
mov edx, dword [edx]
call fcn.004d6400
movzx eax, ax
cmp ax, word [esi]
jne 0x4c3742
add esi, 2
add edi, 2
cmp word [esi], 0
jne 0x4c36f0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp byte [eax + 0x1c], 0
jne 0x4c3806
cmp edi, esi
jne 0x4c3804
add esi, 2
mov eax, esi
jmp 0x4c3b5b
cmp word [esi], 0
je 0x4c371e
jmp 0x4c3750
add esi, 2
cmp word [esi], 0
jne 0x4c3750
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esi, 2
mov eax, dword [esp + 0x20]
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [eax + 8]
jb 0x4c36a0
movzx eax, word [edi]
test bl, bl
mov ebx, dword [esp + 0x1c]
mov ecx, eax
je 0x4c378f
mov edx, dword [ebx]
mov edx, dword [edx]
call fcn.004d6400
movzx ecx, ax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4c37a7
cmp dword [ebp + 0x10], eax
je 0x4c3b1d
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], dx
mov dword [esp + 0x68], edx
test eax, eax
je 0x4c39ab
mov eax, dword [esp + 0x28]
test dword [eax + 0x14], 0x200000
jne 0x4c380d
mov edx, 1
xor eax, eax
mov word [esp + 0x2c], cx
mov dword [esp + 0x3c], edx
mov word [esp + 0x2e], ax
jmp 0x4c3884
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1c], 0
jne 0x4c3b59
jmp 0x4c3b56
mov esi, edi
mov eax, esi
jmp 0x4c3b5b
xor eax, eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
mov word [esp + 0x1c], cx
push eax
mov ecx, ebx
call fcn.004d3ba0
mov edi, eax
lea eax, [esp + 0x2c]
cmp eax, edi
je 0x4c386d
cmp dword [esp + 0x40], 8
jb 0x4c384c
push dword [esp + 0x2c]
call fcn.004a295f
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00402070
cmp dword [esp + 0x58], 8
jb 0x4c3880
push dword [esp + 0x44]
call fcn.004a295f
add esp, 4
mov edx, dword [esp + 0x3c]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x4c39ab
nop
xor eax, eax
cmp ax, word [esi]
jne 0x4c38b8
test edx, edx
je 0x4c38f0
cmp edx, 1
jne 0x4c38b4
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x4c38f0
xor ecx, ecx
jmp 0x4c38cf
mov ecx, esi
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c38c0
sub ecx, edi
sar ecx, 1
push ecx
push esi
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.0040b150
test eax, eax
js 0x4c3980
mov edx, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x4c38f0
add esi, 2
xor eax, eax
cmp ax, word [esi]
jne 0x4c3924
test edx, edx
je 0x4c3951
cmp edx, 1
jne 0x4c3920
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x4c3951
xor ecx, ecx
jmp 0x4c393f
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3930
sub ecx, edi
sar ecx, 1
push ecx
push esi
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.0040b150
test eax, eax
jg 0x4c3990
cmp byte [ebp + 0x1c], 0
mov esi, dword [esp + 0x18]
jne 0x4c395e
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x4c3971
push dword [esp + 0x2c]
call fcn.004a295f
add esp, 4
mov eax, esi
jmp 0x4c3b5b
add esi, 2
cmp word [esi], 0
jne 0x4c3980
add esi, 2
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x4c3990
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x4c39ab
mov edx, dword [esp + 0x3c]
jmp 0x4c3890
cmp dword [ebp + 0x10], 0
je 0x4c3ae7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x14], ax
xor eax, eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d3c00
mov edi, eax
lea eax, [esp + 0x2c]
cmp eax, edi
je 0x4c3a5d
cmp dword [esp + 0x40], 8
jb 0x4c39fa
push dword [esp + 0x2c]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [edi + 0x14], 8
jae 0x4c3a30
mov eax, dword [edi + 0x10]
inc eax
je 0x4c3a3c
add eax, eax
push eax
lea eax, [esp + 0x30]
push edi
push eax
call fcn.004a2bb0
add esp, 0xc
jmp 0x4c3a3c
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x58], 8
jb 0x4c3a70
push dword [esp + 0x44]
call fcn.004a295f
add esp, 4
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x4c3ae7
mov edx, dword [esp + 0x3c]
xor eax, eax
cmp ax, word [esi]
jne 0x4c3aab
test edx, edx
je 0x4c3951
cmp edx, 1
jne 0x4c3aa7
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax], 0
je 0x4c3951
xor ecx, ecx
jmp 0x4c3abf
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3ab0
sub ecx, ebx
sar ecx, 1
push ecx
push esi
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.0040b150
test eax, eax
je 0x4c3951
add esi, 2
cmp word [esi], 0
jne 0x4c3ad5
inc edi
add esi, 2
cmp edi, dword [ebp + 0x10]
jb 0x4c3a77
cmp dword [esp + 0x40], 8
mov dword [esp + 0x68], 0xffffffff
jb 0x4c3b02
push dword [esp + 0x2c]
call fcn.004a295f
add esp, 4
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
push dword [ebp + 0x14]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
push ebx
mov ecx, esi
call fcn.004cc5c0
cmp al, 1
jne 0x4c3b3c
cmp byte [ebp + 0x1c], 0
jne 0x4c3b59
jmp 0x4c3b56
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4c3b50
push eax
push ebx
mov ecx, esi
call fcn.004cc5c0
test al, al
je 0x4c3b34
cmp byte [ebp + 0x1c], 0
je 0x4c3b59
add edi, 2
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004a2964
add esp, 0x58
ret 0xc