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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edi, dword [esp + 0xb0]
call sub.msvcrt.dll_localeconv
mov eax, dword [eax]
mov ebp, edi
movzx eax, byte [eax]
mov dword [esp], edi
mov byte [esp + 0x30], al
call sub.msvcrt.dll_strlen
lea esi, [eax + 2]
mov dword [esp], esi
call sub.msvcrt.dll_malloc
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
jmp 0x5d9c13
add ebp, 1
movzx eax, byte [ebp]
mov esi, ebp
sub esi, edi
mov dword [esp], eax
mov ebx, eax
call sub.msvcrt.dll_isspace
test eax, eax
jne 0x5d9c10
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x5da447
mov eax, dword [esp + 0x2c]
test bl, bl
lea edx, [ebp + 1]
lea ecx, [eax + 1]
mov byte [eax], bl
je 0x5d9c65
add esi, ebp
jmp 0x5d9c61
add edx, 1
movzx eax, byte [edx - 1]
add ecx, 1
test al, al
mov byte [ecx - 1], al
je 0x5d9c65
cmp edx, esi
jne 0x5d9c50
mov eax, dword [esp + 0x2c]
mov byte [ecx], 0
movzx eax, byte [eax]
cmp al, 0x2d
je 0x5d9db0
mov esi, dword [esp + 0x2c]
xor edi, edi
cmp al, 0x2b
mov word [esp + 0x36], di
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], 0x7473c0
mov dword [esp + 4], eax
call sub.msvcrt.dll__strnicmp
test eax, eax
jne 0x5d9d40
mov esi, dword [esp + 0x20]
mov dword [esp + 8], 5
lea ebp, [esp + 0x5a]
mov dword [esp], str.INITY
lea ebx, [esi + 3]
mov dword [esp + 4], ebx
call sub.msvcrt.dll__strnicmp
lea edx, [esi + 8]
test eax, eax
mov ecx, 0x7fff
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
cmove ebx, edx
xor edx, edx
mov dword [esp + 0x66], 0
mov word [esp + 0x6a], dx
mov word [esp + 0x5c], cx
movzx eax, word [esp + 0x36]
mov dword [esp], ebp
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.005e0940
sub ebx, dword [esp + 0x2c]
add ebx, dword [esp + 0x44]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
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], 0x7473ca
mov dword [esp + 4], ebx
call sub.msvcrt.dll__strnicmp
test eax, eax
jne 0x5d9dd0
mov eax, 0xffffc000
xor ebp, ebp
mov edi, 0x7fff
mov word [esp + 0x60], ax
xor eax, eax
mov word [esp + 0x5e], bp
mov word [esp + 0x62], ax
xor eax, eax
add ebx, 3
mov word [esp + 0x64], ax
xor eax, eax
mov word [esp + 0x5c], di
mov word [esp + 0x66], ax
xor eax, eax
lea ebp, [esp + 0x5a]
mov word [esp + 0x68], ax
xor eax, eax
mov word [esp + 0x6a], ax
jmp 0x5d9d06
mov eax, dword [esp + 0x2c]
mov ebp, 0xffffffff
mov word [esp + 0x36], bp
add eax, 1
mov dword [esp + 0x20], eax
jmp 0x5d9c8e
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x5a], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
mov dword [esp + 0x66], 0
mov word [esp + 0x6a], si
movzx eax, byte [edx]
cmp al, 0x30
jne 0x5da4a4
lea esi, [esi]
lea edi, [edi]
add edx, 1
movzx eax, byte [edx]
cmp al, 0x30
je 0x5d9e10
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], 1
movsx edx, al
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
lea esi, [edx - 0x30]
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
lea ebp, [esp + 0x5a]
cmp esi, 9
mov dword [esp + 0x24], esi
ja 0x5d9fb0
movzx eax, word [esp + 0x5e]
test ax, ax
jne 0x5d9fd0
cmp dword [esp + 0x28], 1
lea ebx, [esp + 0x6a]
sbb dword [esp + 0x3c], 0xffffffff
xor edx, edx
movzx ecx, word [ebx]
mov esi, edx
or esi, 1
test cx, cx
cmovs edx, esi
add ecx, ecx
test dl, 2
je 0x5d9e9b
or ecx, 1
lea esi, [esp + 0x5c]
mov word [ebx], cx
sub ebx, 2
add edx, edx
cmp ebx, esi
jne 0x5d9e83
mov edx, dword [ebp]
lea ecx, [esp + 0x7c]
xor ebx, ebx
mov word [esp + 0x7c], bx
lea esi, [esp + 0x6e]
mov ebx, ecx
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x74], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x78], edx
xor edx, edx
jmp 0x5d9ee3
movzx eax, word [ebx]
mov edi, edx
or edi, 1
test ax, ax
cmovs edx, edi
add eax, eax
test dl, 2
je 0x5d9ef8
or eax, 1
mov word [ebx], ax
sub ebx, 2
add edx, edx
cmp ebx, esi
jne 0x5d9ee0
xor eax, eax
lea esi, [esi]
lea edi, [edi]
movzx edx, word [ecx]
mov ebx, eax
or ebx, 1
test dx, dx
cmovs eax, ebx
add edx, edx
test al, 2
je 0x5d9f27
or edx, 1
mov word [ecx], dx
sub ecx, 2
add eax, eax
cmp ecx, esi
jne 0x5d9f10
lea eax, [esp + 0x6c]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.005e05e0
movzx eax, word [esp + 0x24]
mov dword [esp + 0x78], 0
xor ecx, ecx
mov dword [esp + 4], ebp
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x7c], cx
mov word [esp + 0x7a], ax
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005e05e0
mov ebx, dword [esp + 0x24]
add dword [esp + 0x40], 1
or dword [esp + 0x38], ebx
add dword [esp + 0x20], 1
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
movsx edx, al
lea esi, [edx - 0x30]
cmp esi, 9
mov dword [esp + 0x24], esi
jbe 0x5d9e65
cmp al, byte [esp + 0x30]
jne 0x5d9fe4
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x5da0c4
mov dword [esp + 0x28], 1
jmp 0x5d9f91
mov ebx, dword [esp + 0x24]
or dword [esp + 0x48], ebx
cmp dword [esp + 0x28], 1
sbb dword [esp + 0x3c], 0
jmp 0x5d9f84
and eax, 0xffffffdf
cmp al, 0x45
mov eax, dword [esp + 0x40]
jne 0x5da0c8
or eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
je 0x5da0d0
mov eax, dword [esp + 0x20]
movsx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x5da4ea
lea edx, [eax + 1]
mov ebx, 1
cmp cl, 0x2b
je 0x5da4de
lea eax, [ecx - 0x30]
cmp al, 9
mov eax, 0
ja 0x5da0d2
mov esi, ebx
cmp eax, 0x1371
jg 0x5da043
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 - 0x30]
add edx, 1
movsx ecx, byte [edx]
lea ebx, [ecx - 0x30]
cmp bl, 9
jbe 0x5da035
cmp esi, 0xffffffff
mov dword [esp + 0x20], edx
je 0x5da555
cmp eax, 0x1371
jle 0x5da0d2
xor eax, eax
mov dword [esp + 0x5a], 0
mov dword [esp + 0x5e], 0
mov word [esp + 0x6a], ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x62], 0
mov dword [esp + 0x66], 0
test eax, eax
je 0x5da5c0
mov eax, 0x7fff
mov dword [esp], ebp
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
call fcn.005e0940
jmp 0x5da252
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
xor eax, eax
sub eax, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x30], eax
jle 0x5da2a2
cmp word [esp + 0x5e], 0
jne 0x5da1f5
lea eax, [esp + 0x7c]
lea esi, [esp + 0x6c]
lea ebx, [esp + 0x6e]
mov dword [esp + 0x24], eax
nop
mov eax, dword [ebp]
xor edx, edx
mov ecx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esp + 0x7c], ax
xor eax, eax
jmp 0x5da133
movzx edx, word [ecx]
mov edi, eax
or edi, 1
test dx, dx
cmovs eax, edi
add edx, edx
test al, 2
je 0x5da147
or edx, 1
mov word [ecx], dx
sub ecx, 2
add eax, eax
cmp ecx, ebx
jne 0x5da130
mov ecx, dword [esp + 0x24]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx]
mov edi, eax
or edi, 1
test dx, dx
cmovs eax, edi
add edx, edx
test al, 2
je 0x5da177
or edx, 1
mov word [ecx], dx
sub ecx, 2
add eax, eax
cmp ecx, ebx
jne 0x5da160
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.005e05e0
mov ecx, dword [esp + 0x24]
xor eax, eax
movzx edx, word [ecx]
mov edi, eax
or edi, 1
test dx, dx
cmovs eax, edi
add edx, edx
test al, 2
je 0x5da1ac
or edx, 1
mov word [ecx], dx
sub ecx, 2
add eax, eax
cmp ecx, ebx
jne 0x5da195
cmp word [esp + 0x70], 0
jne 0x5da1f5
mov eax, dword [esi]
xor edi, edi
sub dword [esp + 0x30], 1
mov dword [ebp], eax
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov word [esp + 0x6a], di
je 0x5da450
cmp word [esp + 0x5e], 0
je 0x5da100
mov dword [esp], ebp
call fcn.005e0be0
cmp eax, 0x50
jle 0x5da398
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 dword [esp], ebp
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.005e0940
mov edx, dword [esp + 0x38]
test edx, edx
je 0x5da278
mov eax, dword [esp + 0xb4]
fld xword [eax]
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x5da267
je 0x5da293
fxam
wait
fnstsw ax
fstp st(0)
and ax, 0x4500
cmp ax, 0x500
je 0x5da295
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5da5b2
mov eax, dword [esp + 0x28]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
jmp 0x5da278
mov dword [esp], ebp
call fcn.005e0be0
cmp eax, 0x50
jg 0x5da206
mov edx, 0x404e
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], 0x40
sub edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.005e0d90
movzx eax, word [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor eax, eax
test ecx, ecx
je 0x5da367
mov edx, dword [esp + 0x30]
neg edx
cmp edx, 0x1000
jg 0x5da4ff
lea eax, [esp + 0x7e]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x3c], eax
jmp 0x5da3e8
mov eax, dword [esp + 0x3c]
mov esi, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.005e04f0
cmp dword [esp + 0x30], 0xffffffff
je 0x5da4b1
movzx ebx, word [esp + 0x80]
mov eax, dword [esp + 0x3c]
add ebx, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.005e0870
sub ebx, 0x3ffe
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], 0x40
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 0xc], ebx
call fcn.005e0d90
jmp 0x5da22d
mov edx, 0x404e
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], 0x40
sub edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.005e0d90
movzx eax, word [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7e]
mov dword [esp + 0x3c], eax
mov eax, dword [0x74749c]
lea esi, [esp + 0x6c]
mov dword [esp + 0x40], ebp
mov edi, 0x747490
mov ebx, 1
mov ebp, esi
mov esi, edx
mov dword [esp + 0x6c], eax
mov eax, dword [0x7474a0]
mov dword [esp + 0x70], eax
mov eax, dword [0x7474a4]
mov dword [esp + 0x74], eax
jmp 0x5da431
add ebx, ebx
sub edi, 0xc
cmp ebx, 0x1000
jg 0x5da320
test ebx, esi
je 0x5da420
mov dword [esp + 8], ebp
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.005e1150
jmp 0x5da420
mov ecx, dword [esp + 0x2c]
jmp 0x5d9c65
mov dword [esp], ebp
call fcn.005e0be0
cmp eax, 0x50
jg 0x5da206
mov edx, 0x404e
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], 0x40
sub edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.005e0d90
movzx eax, word [esp + 0x5c]
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x5da367
mov dword [esp + 0x4c], 0
jmp 0x5d9e26
movzx eax, word [esp + 0x80]
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebp
sub ebx, eax
mov eax, dword [esp + 0x3c]
add ebx, 0x3fff
mov dword [esp], eax
call fcn.005e0660
mov dword [esp + 0x24], ebx
jmp 0x5da367
movsx ecx, byte [edx + 1]
add edx, 1
jmp 0x5da023
mov eax, dword [esp + 0x20]
mov ebx, 0xffffffff
lea edx, [eax + 2]
movsx ecx, byte [eax + 2]
jmp 0x5da01a
lea eax, [esp + 0x7e]
mov dword [esp], 0x747400
mov dword [esp + 4], eax
mov esi, eax
mov dword [esp + 0x3c], eax
call fcn.005e04f0
movzx eax, word [esp + 0x80]
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], esi
sub ebx, eax
call fcn.005e0660
lea eax, [ebx + 0x3fff]
mov dword [esp + 0x24], eax
mov eax, 0xfffff000
sub eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0xffffffff
mov edx, eax
jmp 0x5da3e8
neg eax
cmp eax, 0xffffec8f
jge 0x5da0d2
xor eax, eax
mov dword [esp + 0x5a], 0
mov dword [esp], ebp
mov word [esp + 0x6a], ax
movzx eax, word [esp + 0x36]
mov dword [esp + 0x5e], 0
mov dword [esp + 0x62], 0
mov dword [esp + 0x66], 0
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.005e0940
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x5da252
mov ebx, dword [esp + 0x20]
jmp 0x5d9d23
mov ebx, dword [esp + 0x20]
jmp 0x5d9d06