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

Disassembly:
sub esp, 0x16c
mov eax, dword [0x401424]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
mov ebx, dword [esp + 0x174]
push ebp
push esi
push edi
mov ebp, dword [ebx + 0xc3c]
mov byte [ebx + 0xcf8], 0
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4b3e1c
nop dword [eax + eax]
mov esi, dword [ebp]
mov dword [esp + 0x28], esi
test esi, esi
je 0x4b3e0d
mov al, byte [esi]
mov byte [esp + 0x13], al
cmp al, 0x2d
jne 0x4b3b48
lea eax, [esi + 1]
push 0x3a
push eax
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x4b3b11
push 0xa
mov esi, edi
inc edi
sub esi, dword [ebp]
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov ebp, eax
sub esi, 1
je 0x4b3b0d
cmp ebp, 0xffff
ja 0x4b3b0d
test edi, edi
je 0x4b3b0d
mov eax, dword [esp + 0x14]
mov ecx, 0xff
mov eax, dword [eax]
inc eax
cmp esi, 0xff
cmova esi, ecx
push esi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004b0c30
push ebp
push 0x4061c0
lea eax, [esp + 0x84]
add eax, esi
push 7
push eax
call fcn.004999e0
add esp, 0x1c
cmp dword [ebx + 0x84], 0
lea edi, [eax + 1]
je 0x4b3adc
push 2
push 3
push ebx
call fcn.004b1300
add esp, 0xc
lea eax, [edi + esi]
push eax
lea eax, [esp + 0x74]
push eax
push dword [ebx + 0x74]
call fcn.004b3220
add esp, 0xc
cmp dword [ebx + 0x84], 0
je 0x4b3e09
push 3
push ebx
call fcn.004b1340
add esp, 8
jmp 0x4b3e09
mov ebp, dword [esp + 0x14]
cmp byte [ebx + 0x68a], 0
je 0x4b3e0d
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4b3b32
cmp dword [eax + 4], 1
jl 0x4b3e0d
push dword [ebp]
push 0x4062bc
push ebx
call fcn.004ab3a0
add esp, 0xc
jmp 0x4b3e0d
xor ebp, ebp
mov dword [esp + 0x1c], 0
cmp al, 0x2b
jne 0x4b3b5b
inc esi
mov dword [esp + 0x28], esi
push 0x3a
push esi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x4b3e6d
mov ecx, eax
sub ecx, esi
lea esi, [eax + 1]
push 0xa
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, 0xffff
ja 0x4b3e6d
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x4b3e6d
cmp byte [ecx], 0x3a
jne 0x4b3e6d
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
lea edi, [ecx + 1]
push 0x2c
push edi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b3bdc
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3bd0
sub eax, edx
lea esi, [eax + edi]
mov ecx, esi
mov dword [esp + 0x20], ecx
cmp byte [edi], 0x5b
jne 0x4b3bfa
cmp esi, edi
je 0x4b3e6d
dec esi
cmp byte [esi], 0x5d
jne 0x4b3e6d
inc edi
sub esi, edi
je 0x4b3c4d
cmp esi, 0x40
jae 0x4b3e6d
push esi
lea eax, [esp + 0x34]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push edi
push eax
mov byte [esp + esi + 0x44], 0
call fcn.004bde80
add esp, 0x14
test eax, eax
je 0x4b3e41
test ebp, ebp
je 0x4b3c41
mov dword [ebp + 0x1c], eax
mov ebp, eax
mov ecx, dword [esp + 0x20]
jmp 0x4b3c51
mov ecx, dword [esp + 0x20]
mov ebp, eax
mov dword [esp + 0x1c], eax
jmp 0x4b3c55
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp byte [ecx], 0
jne 0x4b3bb5
test eax, eax
je 0x4b3e6d
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
test eax, eax
je 0x4b3c76
mov esi, eax
jmp 0x4b3c89
mov esi, ebp
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b3c80
sub esi, ecx
cmp esi, 0xff
mov eax, 0xff
cmova esi, eax
lea eax, [esp + 0x70]
push esi
push ebp
push eax
call fcn.004b0c30
push edi
push 0x4061c0
lea eax, [esp + 0x84]
add eax, esi
push 7
push eax
call fcn.004999e0
add esp, 0x1c
cmp dword [ebx + 0x84], 0
lea edi, [eax + 1]
je 0x4b3cd6
push 2
push 3
push ebx
call fcn.004b1300
add esp, 0xc
add edi, esi
lea eax, [esp + 0x70]
push edi
push eax
push dword [ebx + 0x74]
call fcn.004b3380
add esp, 0xc
test eax, eax
je 0x4b3d37
cmp byte [ebx + 0x68a], 0
je 0x4b3d20
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4b3d06
cmp dword [eax + 4], 1
jl 0x4b3d20
push dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push ebp
push esi
push 0x40633c
push ebx
call fcn.004ab3a0
add esp, 0x14
jmp 0x4b3d24
mov esi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x74]
push eax
push dword [ebx + 0x74]
call fcn.004b3220
add esp, 0xc
jmp 0x4b3d3b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
push edi
push esi
push ebp
push dword [esp + 0x28]
push ebx
call fcn.004b34e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4b3d6d
cmp byte [esp + 0x13], 0x2b
je 0x4b3d6a
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
dec dword [esi + 0x10]
cmp dword [ebx + 0x84], 0
je 0x4b3d81
push 3
push ebx
call fcn.004b1340
add esp, 8
test esi, esi
je 0x4b3e91
cmp byte [ebx + 0x68a], 0
je 0x4b3dcd
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4b3da2
cmp dword [eax + 4], 1
jl 0x4b3dcd
cmp byte [esp + 0x13], 0x2b
mov ecx, 0x406368
mov eax, 0x403744
cmove eax, ecx
push eax
push dword [esp + 0x30]
push edi
push ebp
push dword [esp + 0x28]
push 0x40637c
push ebx
call fcn.004ab3a0
add esp, 0x1c
cmp dword [esp + 0x18], 1
jne 0x4b3e09
cmp byte [ebp], 0x2a
jne 0x4b3e09
cmp byte [ebx + 0x68a], 0
je 0x4b3e02
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4b3df3
cmp dword [eax + 4], 1
jl 0x4b3e02
push edi
push 0x40639c
push ebx
call fcn.004ab3a0
add esp, 0xc
mov byte [ebx + 0xcf8], 1
mov ebp, dword [esp + 0x14]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x4b3a20
mov dword [ebx + 0xc3c], 0
xor eax, eax
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ed9d4
add esp, 0x16c
ret
cmp byte [ebx + 0x68a], 0
je 0x4b3e6d
mov eax, dword [ebx + 0xca8]
test eax, eax
je 0x4b3e5a
cmp dword [eax + 4], 1
jl 0x4b3e6d
lea eax, [esp + 0x30]
push eax
push 0x4062ec
push ebx
call fcn.004ab3a0
add esp, 0xc
mov eax, dword [esp + 0x14]
push dword [eax]
push 0x406310
push ebx
call fcn.004ab2d0
push dword [esp + 0x28]
call fcn.004bdab0
add esp, 0x10
mov eax, 0x31
jmp 0x4b3e28
push dword [esp + 0x1c]
call fcn.004bdab0
add esp, 4
mov eax, 0x1b
jmp 0x4b3e28