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

Disassembly:
sub esp, 0x128
mov eax, dword [0x401424]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
mov ebx, dword [esp + 0x130]
push ebp
push esi
push edi
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x10], 0
lea eax, [edi + 0x430]
push eax
call fcn.004a1010
push dword [edi + 0x464]
lea ebp, [eax + 4]
call dword [fcn.00401038]
mov eax, dword [edi + 0x490]
add esp, 8
mov dword [edi + 0x464], 0
test eax, eax
jne 0x4ce058
cmp dword [esp + 0x140], 0xe5
jne 0x4ce049
push 0x28
push ebp
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x4ce036
mov cl, byte [eax + 1]
mov byte [esp + 0x17], cl
cmp byte [eax + 2], cl
jne 0x4ce036
cmp byte [eax + 3], cl
jne 0x4ce036
lea ecx, [eax + 4]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4ce036
push 0xa
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dl, byte [esp + 0x17]
cmp byte [ecx], dl
jne 0x4ce036
cmp eax, 0xffff
jbe 0x4ce007
push 0x40ae9c
push ebx
call fcn.004ab2d0
add esp, 8
jmp 0x4ce3bb
push edi
mov word [edi + 0x49c], ax
call fcn.004ccea0
push eax
call dword [fcn.00401040]
add esp, 8
mov dword [edi + 0x464], eax
test eax, eax
jne 0x4ce187
mov eax, 0x1b
jmp 0x4ce3c0
push 0x40aec0
push ebx
call fcn.004ab2d0
add esp, 8
jmp 0x4ce3bb
push edi
push ebx
call fcn.004ccfa0
add esp, 8
jmp 0x4ce3c0
cmp eax, 1
mov eax, dword [esp + 0x140]
jne 0x4ce3ac
cmp eax, 0xe3
jne 0x4ce3ac
cmp byte [ebp], 0
je 0x4ce132
nop dword [eax]
mov eax, ebp
xor esi, esi
test esi, esi
je 0x4ce092
cmp byte [eax], 0x2c
jne 0x4ce127
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jl 0x4ce127
cmp cl, 0x39
jg 0x4ce127
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
cmp eax, 0xff
ja 0x4ce127
mov dword [esp + esi*4 + 0x1c], eax
inc esi
mov eax, dword [esp + 0x18]
cmp esi, 6
jl 0x4ce084
cmp byte [ebp], 0
je 0x4ce132
cmp byte [ebx + 0x67e], 0
je 0x4ce14a
cmp byte [ebx + 0x68a], 0
je 0x4ce115
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4ce0f4
cmp dword [eax + 4], 1
jl 0x4ce115
push dword [edi + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0x40af04
push ebx
call fcn.004ab3a0
add esp, 0x1c
push edi
call fcn.004ccea0
push eax
call dword [fcn.00401040]
add esp, 8
jmp 0x4ce167
inc ebp
cmp byte [ebp], 0
jne 0x4ce080
push 0x40aee0
push ebx
call fcn.004ab2d0
add esp, 8
mov eax, 0xe
jmp 0x4ce3c0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0x40af3c
call fcn.00499940
add esp, 0x14
mov dword [edi + 0x464], eax
test eax, eax
je 0x4ce02c
mov eax, dword [esp + 0x2c]
shl eax, 8
add eax, dword [esp + 0x30]
mov word [edi + 0x49c], ax
cmp byte [edi + 0x245], 0
je 0x4ce1f8
cmp byte [edi + 0x241], 0
je 0x4ce19e
mov ebp, dword [edi + 0x58]
jmp 0x4ce1a1
mov ebp, dword [edi + 0x78]
lea eax, [esp + 0x10]
push eax
push 0
push dword [edi + 0xec]
push ebp
push ebx
call fcn.004b3f60
add esp, 0x14
cmp eax, 1
jne 0x4ce1cb
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004a15c0
add esp, 8
mov ecx, dword [esp + 0x10]
movzx esi, word [edi + 0xec]
test ecx, ecx
jne 0x4ce2af
push esi
push ebp
push 0x40af68
push ebx
call fcn.004ab2d0
add esp, 0x10
mov eax, 5
jmp 0x4ce3c0
cmp byte [edi + 0x257], 0
je 0x4ce250
cmp byte [edi + 0x247], 0
jne 0x4ce250
mov eax, dword [edi + 0x464]
cmp byte [eax], 0
jne 0x4ce250
push edi
push ebx
call fcn.004aace0
push dword [edi + 0x464]
call dword [fcn.00401038]
push edi
mov dword [edi + 0x464], 0
call fcn.004ccea0
push eax
call dword [fcn.00401040]
add esp, 0x14
mov dword [edi + 0x464], eax
test eax, eax
je 0x4ce02c
lea eax, [esp + 0x10]
push eax
movzx eax, word [edi + 0x49c]
push 0
push eax
push dword [edi + 0x464]
push ebx
call fcn.004b3f60
add esp, 0x14
cmp eax, 1
jne 0x4ce281
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004a15c0
add esp, 8
mov ecx, dword [esp + 0x10]
movzx esi, word [edi + 0x49c]
test ecx, ecx
jne 0x4ce2af
push esi
push dword [edi + 0x464]
push 0x40af88
push ebx
call fcn.004ab2d0
add esp, 0x10
mov eax, 0xf
jmp 0x4ce3c0
xor eax, eax
cmp byte [edi + 0x252], al
setne al
push eax
push ecx
push 1
push edi
push ebx
call fcn.004ad9a0
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x4ce2fc
push dword [esp + 0x10]
push ebx
call fcn.004b4510
add esp, 8
cmp dword [edi + 0x490], 0
jne 0x4ce2f5
cmp dword [esp + 0x140], 0xe5
je 0x4ce049
mov eax, ebp
jmp 0x4ce3c0
cmp byte [ebx + 0x68a], 0
je 0x4ce354
mov ebp, dword [edi + 0x464]
lea eax, [esp + 0x34]
push 0x100
push eax
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.004b3f10
add esp, 0xc
cmp byte [ebx + 0x68a], 0
je 0x4ce354
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4ce33c
cmp dword [eax + 4], 1
jl 0x4ce354
movzx eax, si
push eax
lea eax, [esp + 0x38]
push eax
push ebp
push 0x40b644
push ebx
call fcn.004ab3a0
add esp, 0x14
push dword [esp + 0x10]
push ebx
call fcn.004b4510
push dword [edi + 0x3c]
call dword [fcn.00401038]
mov dword [edi + 0x3c], 0
mov ax, word [edi + 0x49c]
mov word [edi + 0x4ce], ax
push dword [edi + 0x464]
call dword [fcn.00401040]
add esp, 0x10
mov dword [edi + 0x3c], eax
test eax, eax
je 0x4ce02c
push 0
push ebx
mov byte [edi + 0x24d], 1
call fcn.004ccd80
add esp, 8
xor eax, eax
jmp 0x4ce3c0
push eax
push 0x40af48
push ebx
call fcn.004ab2d0
add esp, 0xc
mov eax, 0xd
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ed9d4
add esp, 0x128
ret