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

Disassembly:
push 0xffffffffffffffff
push 0x4d6d08
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x24], eax
mov edx, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x20], esi
lea edi, [eax + 0x20]
cmp ecx, dword [esp + 0x70]
jne 0x4c3bdc
mov dword [edx], ecx
mov eax, edx
jmp 0x4c40e4
mov edx, dword [esi + 0xc]
mov bl, byte [esp + 0x78]
xor ebp, ebp
mov dword [esp + 0x1c], edx
cmp dword [eax + 8], ebp
jbe 0x4c3cc8
cmp word [edi], 0
mov esi, ecx
mov dword [esp + 0x14], esi
jne 0x4c3c40
movzx eax, word [ecx]
test bl, bl
je 0x4c3c19
mov edx, dword [edx]
mov ecx, eax
mov edx, dword [edx]
call fcn.004d6400
mov ecx, dword [esp + 0x6c]
movzx edx, ax
jmp 0x4c3c1b
mov edx, eax
movzx eax, word [edi]
cmp dx, ax
je 0x4c3d3b
test ax, ax
jne 0x4c3cb2
add edi, 2
cmp word [edi], 0
je 0x4c3c30
jmp 0x4c3cb2
cmp esi, dword [esp + 0x70]
je 0x4c3c9c
movzx eax, word [esi]
test bl, bl
je 0x4c3c5f
mov edx, dword [edx]
mov ecx, eax
mov edx, dword [edx]
call fcn.004d6400
mov edx, dword [esp + 0x1c]
movzx eax, ax
cmp ax, word [edi]
jne 0x4c3c9c
add edi, 2
add esi, 2
cmp word [edi], 0
mov dword [esp + 0x14], esi
jne 0x4c3c40
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1c], 0
jne 0x4c3c91
mov eax, dword [esp + 0x6c]
cmp esi, eax
jne 0x4c3d5b
add eax, 2
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov eax, dword [eax]
jmp 0x4c40dc
cmp word [edi], 0
je 0x4c3c74
add edi, 2
cmp word [edi], 0
jne 0x4c3ca2
mov ecx, dword [esp + 0x6c]
add edi, 2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [eax + 8]
jb 0x4c3bf2
mov esi, dword [esp + 0x20]
movzx eax, word [ecx]
mov ecx, eax
test bl, bl
je 0x4c3cdd
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.004d6400
movzx ecx, ax
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4c3cf5
cmp dword [ebp + 0x10], eax
je 0x4c4069
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
mov dword [esp + 0x64], edx
test eax, eax
je 0x4c3efb
xor eax, eax
test dword [esi + 0x14], 0x200000
jne 0x4c3d66
mov edx, 1
mov word [esp + 0x28], cx
mov dword [esp + 0x38], edx
mov word [esp + 0x2a], ax
jmp 0x4c3ddd
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1c], 0
jne 0x4c3d50
cmp esi, ecx
jne 0x4c3d5b
add ecx, 2
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x6c]
mov eax, dword [eax]
jmp 0x4c40dc
lea eax, [esp + 0x14]
mov eax, dword [eax]
jmp 0x4c40dc
mov word [esp + 0x16], ax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
mov word [esp + 0x1c], cx
mov ecx, dword [esp + 0x24]
push eax
call fcn.004d3ba0
mov esi, eax
lea eax, [esp + 0x28]
cmp eax, esi
je 0x4c3dc6
cmp dword [esp + 0x3c], 8
jb 0x4c3da5
push dword [esp + 0x28]
call fcn.004a295f
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00402070
cmp dword [esp + 0x54], 8
jb 0x4c3dd9
push dword [esp + 0x40]
call fcn.004a295f
add esp, 4
mov edx, dword [esp + 0x38]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x4c3efb
xor eax, eax
cmp ax, word [edi]
jne 0x4c3e10
test edx, edx
je 0x4c3e40
cmp edx, 1
jne 0x4c3e0c
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
cmp word [eax], 0
je 0x4c3e40
xor ecx, ecx
jmp 0x4c3e24
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3e15
sub ecx, esi
sar ecx, 1
push ecx
push edi
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.0040b150
test eax, eax
js 0x4c3ed4
mov edx, dword [esp + 0x38]
mov edi, edi
add edi, 2
cmp word [edi], 0
jne 0x4c3e40
add edi, 2
xor eax, eax
cmp ax, word [edi]
jne 0x4c3e74
test edx, edx
je 0x4c3ea1
cmp edx, 1
jne 0x4c3e70
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
cmp word [eax], 0
je 0x4c3ea1
xor ecx, ecx
jmp 0x4c3e8f
mov ecx, edi
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3e80
sub ecx, esi
sar ecx, 1
push ecx
push edi
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.0040b150
test eax, eax
jg 0x4c3ee0
cmp byte [ebp + 0x1c], 0
mov eax, dword [esp + 0x6c]
jne 0x4c3eb2
add eax, 2
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x3c], 8
mov edi, dword [esp + 0x18]
mov dword [edi], eax
jb 0x4c40e2
push dword [esp + 0x28]
call fcn.004a295f
add esp, 4
jmp 0x4c40e2
add edi, 2
cmp word [edi], 0
jne 0x4c3ed4
add edi, 2
add edi, 2
cmp word [edi], 0
jne 0x4c3ee0
inc ebx
add edi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x4c3efb
mov edx, dword [esp + 0x38]
jmp 0x4c3de8
cmp dword [ebp + 0x10], 0
je 0x4c4037
mov eax, dword [esp + 0x20]
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 + 0x48]
push eax
call fcn.004d3c00
mov esi, eax
lea eax, [esp + 0x28]
cmp eax, esi
je 0x4c3fad
cmp dword [esp + 0x3c], 8
jb 0x4c3f4a
push dword [esp + 0x28]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp dword [esi + 0x14], 8
jae 0x4c3f80
mov eax, dword [esi + 0x10]
inc eax
je 0x4c3f8c
add eax, eax
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.004a2bb0
add esp, 0xc
jmp 0x4c3f8c
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x54], 8
jb 0x4c3fc0
push dword [esp + 0x40]
call fcn.004a295f
add esp, 4
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jbe 0x4c4037
mov edx, dword [esp + 0x38]
xor eax, eax
cmp ax, word [edi]
jne 0x4c3fff
test edx, edx
je 0x4c408c
cmp edx, 1
jne 0x4c3ffb
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp esi, 8
lea eax, [esp + 0x28]
cmovae eax, ecx
cmp word [eax], 0
je 0x4c4094
xor ecx, ecx
jmp 0x4c4013
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c4004
sub ecx, esi
sar ecx, 1
push ecx
push edi
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.0040b150
test eax, eax
je 0x4c408c
add edi, 2
cmp word [edi], 0
jne 0x4c4025
inc ebx
add edi, 2
cmp ebx, dword [ebp + 0x10]
jb 0x4c3fc7
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x64], 0xffffffff
jb 0x4c4052
push dword [esp + 0x28]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
push dword [ebp + 0x14]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ebx
mov ecx, esi
call fcn.004cc5c0
cmp al, 1
jne 0x4c40bb
cmp byte [ebp + 0x1c], 0
mov eax, dword [esp + 0x6c]
jne 0x4c40dc
jmp 0x4c40d9
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp byte [ebp + 0x1c], 0
mov eax, dword [esp + 0x6c]
jne 0x4c40a5
add eax, 2
mov dword [esp + 0x6c], eax
mov edi, dword [esp + 0x18]
mov dword [edi], eax
cmp esi, 8
jb 0x4c40e2
push ecx
call fcn.004a295f
add esp, 4
jmp 0x4c40e2
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4c40cf
push eax
push ebx
mov ecx, esi
call fcn.004cc5c0
test al, al
je 0x4c4080
cmp byte [ebp + 0x1c], 0
mov eax, dword [esp + 0x6c]
je 0x4c40dc
add eax, 2
mov edi, dword [esp + 0x18]
mov dword [edi], eax
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a2964
add esp, 0x54
ret 0x10