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

Disassembly:
push 0xffffffffffffffff
push 0x5f214a
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x28], ebp
jne 0x4cf365
xor al, al
jmp 0x4cfc0d
push edi
mov ecx, ebp
call dword [0x610598]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
add ebp, 0x20
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebp
call fcn.004d0030
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cf3a0
sub eax, edx
sar eax, 1
je 0x4cfc0b
jmp 0x4cf3bd
mov ebp, dword [esp + 0x24]
xor ebx, ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x6111d4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call dword [0x610498]
lea esi, [esp + 0x1ec]
call fcn.004cf170
push 0x61c684
push edi
mov dword [esp + 0x23c], ebx
call dword [0x61065c]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4cf8ba
cmp edi, ebx
je 0x4cf51d
mov edx, ebx
sub edx, edi
sar edx, 1
push edx
push edi
lea ecx, [esp + 0x1b8]
call dword [0x610410]
push 0x61228c
lea edi, [esp + 0x1b4]
mov byte [esp + 0x238], 5
call fcn.004ce4c0
add esp, 4
push 0x61228c
call fcn.004ce520
add esp, 4
cmp dword [esp + 0x1c4], 0
je 0x4cf508
sub esp, 0x20
mov esi, esp
lea eax, [esp + 0x1ec]
mov dword [esp + 0x40], esp
push eax
mov ecx, esi
call dword [0x610494]
mov ecx, dword [esp + 0x208]
mov dword [esi + 0x1c], ecx
sub esp, 0x20
mov esi, esp
mov byte [esp + 0x274], 6
mov edx, edi
mov dword [esp + 0x54], esp
push edx
mov ecx, esi
call dword [0x610494]
mov dword [esi + 0x1c], 0
lea esi, [esp + 0xb8]
mov byte [esp + 0x274], 5
call fcn.004d09b0
add esp, 0x40
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
mov byte [esp + 0x238], 7
call fcn.004d08b0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xc8]
push eax
push ebp
mov byte [esp + 0x240], 8
call fcn.004cff50
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x238], 7
call fcn.004cfc40
mov edx, esi
push edx
mov byte [esp + 0x238], 5
call fcn.004cfc40
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x234], 0
call dword [0x6105a0]
movzx eax, word [ebx]
cmp ax, 0x2d
jne 0x4cf530
mov dword [esp + 0x1c], 1
jmp 0x4cf53e
cmp ax, 0x2f
jne 0x4cf53e
mov dword [esp + 0x1c], 2
add ebx, 2
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cf546
sub eax, edx
sar eax, 1
je 0x4cfbf3
push 0x61c68c
push ebx
call dword [0x61065c]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4cf9d1
movzx esi, word [ebp]
cmp si, 0x20
je 0x4cf776
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cf585
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x4cf776
cmp si, 0x3a
jne 0x4cf5ad
mov dword [esp + 0x18], 1
jmp 0x4cf5bb
cmp si, 0x3d
jne 0x4cf5bb
mov dword [esp + 0x18], 2
mov eax, ebp
sub eax, ebx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x1f4]
call dword [0x610410]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x234], 0x11
cmp byte [ecx + 0x1c], 0
jne 0x4cf5ee
lea edi, [esp + 0x1ec]
call fcn.004ce5c0
mov edi, dword [0x61065c]
add ebp, 2
push 0x61c694
push ebp
call edi
add esp, 8
cmp eax, ebp
jne 0x4cf613
lea esi, [ebp + 2]
push 0x61c694
push esi
call edi
jmp 0x4cf61e
push 0x20
push ebp
mov esi, ebp
call dword [0x61064c]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4cfabc
cmp dword [esp + 0x200], 0
je 0x4cf767
mov edx, ebx
sub edx, esi
sar edx, 1
push edx
push esi
lea ecx, [esp + 0x210]
call dword [0x610410]
mov eax, dword [esp + 0x18]
push eax
sub esp, 0x1c
mov byte [esp + 0x254], 0x17
lea edx, [esp + 0x228]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x610494]
lea esi, [esp + 0xf0]
call fcn.004cf170
mov esi, eax
sub esp, 0x20
mov edi, esp
mov byte [esp + 0x254], 0x18
mov dword [esp + 0x34], esp
push esi
mov ecx, edi
call dword [0x610494]
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
sub esp, 0x20
mov byte [esp + 0x274], 0x19
mov esi, esp
lea ecx, [esp + 0x22c]
mov dword [esp + 0x60], esp
push ecx
mov ecx, esi
call dword [0x610494]
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x1c], edx
lea esi, [esp + 0x1b0]
mov byte [esp + 0x274], 0x18
call fcn.004d09b0
add esp, 0x40
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
mov byte [esp + 0x238], 0x1a
call fcn.004d08b0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
mov byte [esp + 0x240], 0x1b
call fcn.004cff50
lea edx, [esp + 0xf0]
push edx
mov byte [esp + 0x238], 0x1a
call fcn.004cfc40
mov eax, esi
push eax
mov byte [esp + 0x238], 0x18
call fcn.004cfc40
lea ecx, [esp + 0xd0]
mov byte [esp + 0x234], 0x17
call dword [0x6105a0]
lea ecx, [esp + 0x208]
mov byte [esp + 0x234], 0x11
call dword [0x6105a0]
lea edi, [ebx + 2]
lea ecx, [esp + 0x1ec]
jmp 0x4cf875
mov ecx, ebp
sub ecx, ebx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x1b8]
call dword [0x610410]
mov byte [esp + 0x234], 0xd
cmp dword [esp + 0x1c4], 0
je 0x4cf86b
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1c], 0
jne 0x4cf7b7
lea edi, [esp + 0x1b0]
call fcn.004ce5c0
sub esp, 0x20
mov esi, esp
lea eax, [esp + 0x1ec]
mov dword [esp + 0x34], esp
push eax
mov ecx, esi
call dword [0x610494]
mov ecx, dword [esp + 0x208]
mov dword [esi + 0x1c], ecx
sub esp, 0x20
mov esi, esp
mov byte [esp + 0x274], 0xe
lea edx, [esp + 0x1f0]
mov dword [esp + 0x60], esp
push edx
mov ecx, esi
call dword [0x610494]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x1c], eax
lea esi, [esp + 0xb8]
mov byte [esp + 0x274], 0xd
call fcn.004d09b0
add esp, 0x40
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
mov byte [esp + 0x238], 0xf
call fcn.004d08b0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x240], 0x10
call fcn.004cff50
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x238], 0xf
call fcn.004cfc40
mov eax, esi
push eax
mov byte [esp + 0x238], 0xd
call fcn.004cfc40
lea edi, [ebp + 2]
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x234], 0
call dword [0x6105a0]
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x234], 0xffffffff
call dword [0x6105a0]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cf8a0
sub eax, edx
sar eax, 1
jne 0x4cf3b7
jmp 0x4cfc0b
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cf8c0
sub eax, edx
sar eax, 1
je 0x4cfbf3
push edi
lea ecx, [esp + 0x1b4]
call dword [0x610498]
push 0x61228c
lea edi, [esp + 0x1b4]
mov byte [esp + 0x238], 1
call fcn.004ce4c0
add esp, 4
push 0x61228c
call fcn.004ce520
add esp, 4
cmp dword [esp + 0x1c4], 0
je 0x4cf9c5
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x34], esp
push ecx
mov ecx, esi
call dword [0x610494]
mov edx, dword [esp + 0x208]
mov dword [esi + 0x1c], edx
sub esp, 0x20
mov esi, esp
mov byte [esp + 0x274], 2
mov eax, edi
mov dword [esp + 0x60], esp
push eax
mov ecx, esi
call dword [0x610494]
mov dword [esi + 0x1c], 0
lea esi, [esp + 0xb8]
mov byte [esp + 0x274], 1
call fcn.004d09b0
add esp, 0x40
lea ecx, [esp + 0x38]
push ecx
mov bl, 3
mov ecx, eax
mov byte [esp + 0x238], bl
call fcn.004d08b0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
push ebp
mov byte [esp + 0x240], 4
call fcn.004cff50
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x238], bl
call fcn.004cfc40
mov edx, esi
push edx
mov byte [esp + 0x238], 1
call fcn.004cfc40
lea ecx, [esp + 0x1b0]
jmp 0x4cfbe5
push ebx
lea ecx, [esp + 0x1b4]
call dword [0x610498]
mov eax, dword [esp + 0x28]
mov bl, 9
mov byte [esp + 0x234], bl
cmp byte [eax + 0x1c], 0
jne 0x4cf9fe
lea edi, [esp + 0x1b0]
call fcn.004ce5c0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x34], esp
push ecx
mov ecx, esi
call dword [0x610494]
mov edx, dword [esp + 0x208]
mov dword [esi + 0x1c], edx
sub esp, 0x20
mov esi, esp
mov byte [esp + 0x274], 0xa
lea eax, [esp + 0x1f0]
mov dword [esp + 0x60], esp
push eax
mov ecx, esi
call dword [0x610494]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x1c], ecx
lea esi, [esp + 0xb8]
mov byte [esp + 0x274], bl
call fcn.004d09b0
add esp, 0x40
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0x238], 0xb
call fcn.004d08b0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x240], 0xc
call fcn.004cff50
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x238], 0xb
call fcn.004cfc40
mov ecx, esi
push ecx
mov byte [esp + 0x238], bl
call fcn.004cfc40
lea ecx, [esp + 0x1b0]
jmp 0x4cfbe5
push esi
lea ecx, [esp + 0x1b4]
call dword [0x610498]
mov byte [esp + 0x234], 0x12
cmp dword [esp + 0x200], 0
je 0x4cfbc9
mov edx, dword [esp + 0x18]
push edx
sub esp, 0x1c
lea eax, [esp + 0x1d0]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x610494]
lea esi, [esp + 0x58]
call fcn.004cf170
mov esi, eax
sub esp, 0x20
mov bl, 0x13
mov edi, esp
mov byte [esp + 0x254], bl
mov dword [esp + 0x34], esp
push esi
mov ecx, edi
call dword [0x610494]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
sub esp, 0x20
mov esi, esp
mov byte [esp + 0x274], 0x14
lea edx, [esp + 0x22c]
mov dword [esp + 0x60], esp
push edx
mov ecx, esi
call dword [0x610494]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x1c], eax
lea esi, [esp + 0x170]
mov byte [esp + 0x274], bl
call fcn.004d09b0
add esp, 0x40
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov byte [esp + 0x238], 0x15
call fcn.004d08b0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x240], 0x16
call fcn.004cff50
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x238], 0x15
call fcn.004cfc40
mov eax, esi
push eax
mov byte [esp + 0x238], bl
call fcn.004cfc40
lea ecx, [esp + 0x38]
mov byte [esp + 0x234], 0x12
call dword [0x6105a0]
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x234], 0x11
call dword [0x6105a0]
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x234], 0
call dword [0x6105a0]
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x234], 0xffffffff
call dword [0x6105a0]
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005e693f
add esp, 0x224
ret 4