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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov esi, dword [esp + 0xb0]
call sub.msvcrt.dll_localeconv
mov ebp, esi
mov eax, dword [eax]
movzx eax, byte [eax]
mov dword [esp], esi
mov byte [esp + 0x30], al
call sub.msvcrt.dll_strlen
lea edi, [eax + 2]
mov dword [esp], edi
call sub.msvcrt.dll_malloc
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jmp 0x4c3663
add ebp, 1
movzx ebx, byte [ebp]
mov edi, ebp
sub edi, esi
movzx eax, bl
mov dword [esp], eax
call sub.msvcrt.dll_isspace
test eax, eax
jne 0x4c3660
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x20]
test edi, edi
jle 0x4c3d99
mov esi, dword [esp + 0x28]
test bl, bl
lea eax, [ebp + 1]
lea edx, [esi + 1]
mov byte [esi], bl
je 0x4c36b5
add edi, ebp
jmp 0x4c36b1
add eax, 1
movzx ecx, byte [eax - 1]
add edx, 1
test cl, cl
mov byte [edx - 1], cl
je 0x4c36b5
cmp eax, edi
jne 0x4c36a0
mov eax, dword [esp + 0x28]
mov byte [edx], 0
movzx eax, byte [eax]
cmp al, 0x2d
je 0x4c3804
mov esi, dword [esp + 0x28]
xor ecx, ecx
cmp al, 0x2b
mov word [esp + 0x36], cx
lea edx, [esi + 1]
cmovne edx, esi
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 3
mov dword [esp], 0x578da0
mov dword [esp + 4], eax
call sub.msvcrt.dll__strnicmp
test eax, eax
jne 0x4c3796
mov edi, dword [esp + 0x20]
mov dword [esp + 8], 5
mov dword [esp], str.INITY
lea ebx, [edi + 3]
mov dword [esp + 4], ebx
call sub.msvcrt.dll__strnicmp
lea edx, [edi + 8]
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
mov dword [esp + 0x66], 0
test eax, eax
cmove ebx, edx
xor eax, eax
mov word [esp + 0x6a], ax
mov edx, 0x7fff
lea eax, [esp + 0x5a]
mov word [esp + 0x5c], dx
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x36]
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c78d0
sub ebx, dword [esp + 0x28]
add ebx, dword [esp + 0x44]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x30]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], 3
mov dword [esp], 0x578daa
mov dword [esp + 4], ebx
call sub.msvcrt.dll__strnicmp
test eax, eax
jne 0x4c3820
xor eax, eax
mov esi, 0x7fff
mov word [esp + 0x62], ax
xor eax, eax
xor edi, edi
mov word [esp + 0x64], ax
xor eax, eax
mov ebp, 0xffffc000
mov word [esp + 0x66], ax
xor eax, eax
add ebx, 3
mov word [esp + 0x68], ax
xor eax, eax
mov word [esp + 0x6a], ax
lea eax, [esp + 0x5a]
mov word [esp + 0x5c], si
mov word [esp + 0x5e], di
mov word [esp + 0x60], bp
mov dword [esp + 0x2c], eax
jmp 0x4c375a
mov eax, dword [esp + 0x28]
mov ebx, 0xffffffff
mov word [esp + 0x36], bx
add eax, 1
mov dword [esp + 0x20], eax
jmp 0x4c36de
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x5a], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
movzx eax, byte [edx]
mov dword [esp + 0x66], 0
mov word [esp + 0x6a], cx
cmp al, 0x30
jne 0x4c3da2
add edx, 1
movzx eax, byte [edx]
cmp al, 0x30
je 0x4c3856
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], 1
lea edi, [esp + 0x5a]
mov dword [esp + 0x2c], edi
movsx edi, al
sub edi, 0x30
cmp edi, 9
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
ja 0x4c39ee
nop
lea esi, [esi]
movzx ecx, word [esp + 0x5e]
test cx, cx
jne 0x4c3a10
cmp dword [esp + 0x24], 1
lea edx, [esp + 0x6a]
sbb dword [esp + 0x3c], 0xffffffff
xor eax, eax
nop
movzx ebx, word [edx]
mov esi, eax
or esi, 1
test bx, bx
cmovs eax, esi
add ebx, ebx
test al, 2
je 0x4c38e7
or ebx, 1
mov word [edx], bx
lea esi, [esp + 0x5c]
sub edx, 2
add eax, eax
cmp edx, esi
jne 0x4c38d0
mov esi, dword [esp + 0x2c]
xor edx, edx
lea ebp, [esp + 0x7c]
mov word [esp + 0x7c], dx
lea ebx, [esp + 0x6e]
mov edx, ebp
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x78], eax
xor eax, eax
jmp 0x4c3933
movzx ecx, word [edx]
mov esi, eax
or esi, 1
test cx, cx
cmovs eax, esi
add ecx, ecx
test al, 2
je 0x4c3947
or ecx, 1
mov word [edx], cx
sub edx, 2
add eax, eax
cmp edx, ebx
jne 0x4c3930
xor eax, eax
movzx edx, word [ebp]
mov ecx, eax
or ecx, 1
test dx, dx
cmovs eax, ecx
add edx, edx
test al, 2
je 0x4c396d
or edx, 1
mov word [ebp], dx
sub ebp, 2
add eax, eax
cmp ebp, ebx
jne 0x4c3955
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.004c7580
xor eax, eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x7a], di
call fcn.004c7580
or dword [esp + 0x38], edi
add dword [esp + 0x40], 1
add dword [esp + 0x20], 1
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
movsx edi, al
sub edi, 0x30
cmp edi, 9
jbe 0x4c38b0
cmp byte [esp + 0x30], al
jne 0x4c3a20
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4c3aa3
mov dword [esp + 0x24], 1
jmp 0x4c39d3
or dword [esp + 0x48], edi
cmp dword [esp + 0x24], 1
sbb dword [esp + 0x3c], 0
jmp 0x4c39ca
and eax, 0xffffffdf
cmp al, 0x45
mov eax, dword [esp + 0x40]
jne 0x4c3aa7
or eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
je 0x4c3aaf
mov eax, dword [esp + 0x20]
movsx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x4c3e06
lea ebx, [eax + 1]
mov esi, 1
cmp cl, 0x2b
je 0x4c3dfa
lea eax, [ecx - 0x30]
cmp al, 9
mov eax, 0
ja 0x4c3ab1
cmp eax, 0x1371
jg 0x4c3a71
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 - 0x30]
add ebx, 1
movsx ecx, byte [ebx]
lea edx, [ecx - 0x30]
cmp dl, 9
jbe 0x4c3a63
cmp esi, 0xffffffff
je 0x4c3e82
cmp eax, 0x1371
jg 0x4c3e1b
cmp eax, 0xffffec8f
mov dword [esp + 0x20], ebx
jge 0x4c3ab1
jmp 0x4c3bd6
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
xor eax, eax
sub eax, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x4c3bc1
cmp word [esp + 0x5e], 0
jne 0x4c3bc1
mov edi, dword [esp + 0x2c]
lea ebp, [esp + 0x7c]
lea esi, [esp + 0x6c]
lea ebx, [esp + 0x6e]
mov dword [esp + 0x24], ebp
mov eax, dword [edi]
xor ecx, ecx
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esp + 0x7c], ax
xor eax, eax
jmp 0x4c3b0b
movzx ecx, word [edx]
mov ebp, eax
or ebp, 1
test cx, cx
cmovs eax, ebp
add ecx, ecx
test al, 2
je 0x4c3b1f
or ecx, 1
mov word [edx], cx
sub edx, 2
add eax, eax
cmp edx, ebx
jne 0x4c3b08
mov edx, dword [esp + 0x24]
xor eax, eax
movzx ecx, word [edx]
mov ebp, eax
or ebp, 1
test cx, cx
cmovs eax, ebp
add ecx, ecx
test al, 2
je 0x4c3b48
or ecx, 1
mov word [edx], cx
sub edx, 2
add eax, eax
cmp edx, ebx
jne 0x4c3b31
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004c7580
mov edx, dword [esp + 0x24]
xor eax, eax
movzx ecx, word [edx]
mov ebp, eax
or ebp, 1
test cx, cx
cmovs eax, ebp
add ecx, ecx
test al, 2
je 0x4c3b7d
or ecx, 1
mov word [edx], cx
sub edx, 2
add eax, eax
cmp edx, ebx
jne 0x4c3b66
cmp word [esp + 0x70], 0
jne 0x4c3bc1
mov eax, dword [esi]
xor ebp, ebp
sub dword [esp + 0x3c], 1
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov word [esp + 0x6a], bp
je 0x4c3bc1
cmp word [esp + 0x5e], 0
je 0x4c3ae1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c7d60
cmp eax, 0x50
jle 0x4c3c71
xor ebx, ebx
mov dword [esp + 0x5a], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
mov dword [esp + 0x66], 0
mov word [esp + 0x6a], bx
movzx eax, word [esp + 0x36]
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c78d0
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4c3c4a
mov eax, dword [esp + 0xb4]
fld xword [eax]
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x4c3c60
fxam
wait
fnstsw ax
fstp st(0)
and ax, 0x4500
cmp ax, 0x500
je 0x4c3c64
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c3787
mov ebx, dword [esp + 0x20]
jmp 0x4c377b
jne 0x4c3c39
fstp st(0)
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
jmp 0x4c3c4a
mov edx, 0x404e
sub edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.004c7ef0
mov ecx, dword [esp + 0x3c]
xor eax, eax
movzx ebp, word [esp + 0x5c]
test ecx, ecx
je 0x4c3d68
mov dword [esp + 0x24], 1
js 0x4c3daf
mov eax, dword [0x578e5c]
lea esi, [esp + 0x6c]
mov edi, 0x578e50
mov dword [esp + 0x40], ebp
mov ebx, 1
mov ebp, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [0x578e60]
mov dword [esp + 0x70], eax
mov eax, dword [0x578e64]
mov dword [esp + 0x74], eax
jmp 0x4c3d0d
add ebx, ebx
sub edi, 0xc
cmp ebx, 0x1000
jg 0x4c3d23
test ebx, esi
je 0x4c3d00
mov dword [esp + 8], ebp
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.004c8280
jmp 0x4c3d00
mov esi, ebp
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x7e]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004c74a0
cmp dword [esp + 0x24], 0xffffffff
je 0x4c3dd1
mov eax, dword [esp + 0x2c]
movzx ebx, word [esp + 0x80]
mov dword [esp + 4], eax
lea eax, [esp + 0x7e]
mov dword [esp], eax
add ebx, ebp
call fcn.004c7800
lea ebp, [ebx - 0x3ffe]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.004c7ef0
jmp 0x4c3bfd
mov edx, dword [esp + 0x28]
jmp 0x4c36b5
mov dword [esp + 0x4c], 0
jmp 0x4c386c
mov eax, dword [esp + 0x3c]
neg eax
cmp eax, 0x1000
jg 0x4c3e89
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], 0xffffffff
jmp 0x4c3cc9
movzx eax, word [esp + 0x80]
sub ebp, eax
mov eax, dword [esp + 0x2c]
add ebp, 0x3fff
mov dword [esp + 4], eax
lea eax, [esp + 0x7e]
mov dword [esp], eax
call fcn.004c7600
jmp 0x4c3d68
movsx ecx, byte [ebx + 1]
add ebx, 1
jmp 0x4c3a57
mov eax, dword [esp + 0x20]
mov esi, 0xffffffff
lea ebx, [eax + 2]
movsx ecx, byte [eax + 2]
jmp 0x4c3a4e
xor eax, eax
mov word [esp + 0x6a], ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5a], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
test eax, eax
mov dword [esp + 0x66], 0
je 0x4c375a
mov eax, 0x7fff
mov word [esp + 0x5c], ax
movzx eax, word [esp + 0x36]
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c78d0
mov dword [esp + 0x20], ebx
jmp 0x4c3c26
neg eax
jmp 0x4c3a93
lea eax, [esp + 0x7e]
mov dword [esp + 4], eax
mov dword [esp], 0x578dc0
call fcn.004c74a0
movzx eax, word [esp + 0x80]
sub ebp, eax
mov eax, dword [esp + 0x2c]
add ebp, 0x3fff
mov dword [esp + 4], eax
lea eax, [esp + 0x7e]
mov dword [esp], eax
call fcn.004c7600
mov eax, 0xfffff000
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x3c], eax
jmp 0x4c3cc9