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

Disassembly:
push 0xffffffffffffffff
push 0x488138
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4cc]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x4c8]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
je 0x431381
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x3e8
ja 0x431452
mov eax, 7
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov dword [esp + 0x4c0], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
movzx eax, word [esi]
cmp ax, bx
mov byte [esp + 0x4c0], 1
mov ebp, esi
je 0x4313d9
movzx eax, ax
cmp ax, 0x5b
je 0x4313d9
movzx eax, word [ebp + 2]
add ebp, 2
cmp ax, bx
jne 0x4313c5
jmp 0x4313df
cmp word [ebp], bx
jne 0x431459
push esi
lea ecx, [esp + 0x2c]
call fcn.004029c0
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x4c4], 2
call fcn.00405500
mov esi, 8
cmp dword [esp + 0x40], esi
jb 0x431415
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x78], esi
jb 0x431428
mov edx, dword [esp + 0x64]
push edx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x431452
mov eax, dword [esp + 0x80]
push eax
call fcn.004775de
add esp, 4
xor eax, eax
jmp 0x4318f0
mov ecx, ebp
sub ecx, esi
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x84]
call fcn.00402680
add ebp, 2
xor edx, edx
mov ecx, ebp
movzx eax, word [ebp]
cmp ax, 0x30
mov dword [esp + 0x1c], edx
jb 0x43149b
cmp ax, 0x39
ja 0x43149b
cmp edx, ebx
je 0x431491
cmp edx, 1
jne 0x4314e0
mov edx, 1
add ebp, 2
jmp 0x431474
cmp ax, 0x41
jb 0x4314ba
cmp ax, 0x5a
ja 0x4314ba
cmp edx, ebx
je 0x4314b0
cmp edx, 2
jne 0x4314e0
mov edx, 2
add ebp, 2
jmp 0x431474
cmp ax, 0x61
jb 0x4314d9
cmp ax, 0x7a
ja 0x4314d9
cmp edx, ebx
je 0x4314cf
cmp edx, 3
jne 0x4314e0
mov edx, 3
add ebp, 2
jmp 0x431474
cmp word [ebp], 0x2d
je 0x43155e
push esi
lea ecx, [esp + 0x2c]
call fcn.004029c0
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov byte [esp + 0x4c4], 3
call fcn.00405500
mov esi, 8
cmp dword [esp + 0x40], esi
jb 0x431516
mov eax, dword [esp + 0x2c]
push eax
call fcn.004775de
add esp, 4
cmp dword [esp + 0x78], esi
jb 0x431529
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x431452
mov edx, dword [esp + 0x80]
push edx
call fcn.004775de
add esp, 4
xor eax, eax
jmp 0x4318f0
mov edi, ebp
sub edi, ecx
sar edi, 1
cmp edi, 0xff
jg 0x4318db
cmp edi, ebx
je 0x4318db
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [edi + 1]
push eax
push ecx
lea ecx, [esp + 0xbc]
push ecx
call ebx
add ebp, 2
xor esi, esi
mov ecx, ebp
movzx eax, word [ebp]
cmp ax, 0x30
jb 0x4315b7
cmp ax, 0x39
ja 0x4315b7
test esi, esi
je 0x4315ad
cmp esi, 1
jne 0x4315fc
mov esi, 1
add ebp, 2
jmp 0x431594
cmp ax, 0x41
jb 0x4315d6
cmp ax, 0x5a
ja 0x4315d6
test esi, esi
je 0x4315cc
cmp esi, 2
jne 0x4315fc
mov esi, 2
add ebp, 2
jmp 0x431594
cmp ax, 0x61
jb 0x4315f5
cmp ax, 0x7a
ja 0x4315f5
test esi, esi
je 0x4315eb
cmp esi, 3
jne 0x4315fc
mov esi, 3
add ebp, 2
jmp 0x431594
cmp word [ebp], 0x5d
je 0x431642
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
call fcn.004029c0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x4c4], 4
call fcn.00405500
lea ecx, [esp + 0x28]
call fcn.00401f00
lea ecx, [esp + 0x60]
call fcn.00401f00
lea ecx, [esp + 0x7c]
call fcn.00401f00
xor eax, eax
jmp 0x4318f0
mov eax, ebp
sub eax, ecx
sar eax, 1
cmp eax, 0xff
mov dword [esp + 0x18], eax
jg 0x4318db
test eax, eax
je 0x4318db
mov edx, eax
add edx, 1
push edx
push ecx
lea eax, [esp + 0x2bc]
push eax
call ebx
cmp dword [esp + 0x1c], esi
jne 0x4318db
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4318db
mov edx, dword [esp + 0x18]
xor esi, esi
cmp edi, edx
jg 0x4318db
jne 0x4316cb
xor eax, eax
test edi, edi
jle 0x431744
movzx ecx, word [esp + eax*2 + 0xb4]
movzx edx, word [esp + eax*2 + 0x2b4]
cmp cx, dx
ja 0x4318db
jb 0x431744
add eax, 1
cmp eax, edi
jl 0x4316a0
jmp 0x431744
test edi, edi
mov eax, edi
jl 0x4316f5
lea ecx, [esp + edx*2 + 0xb4]
jmp 0x4316e0
mov si, word [esp + eax*2 + 0xb4]
mov word [ecx], si
sub eax, 1
sub ecx, 2
test eax, eax
jge 0x4316e0
mov ecx, edx
sub ecx, edi
xor eax, eax
test ecx, ecx
jle 0x431742
mov esi, 0x40
mov edx, 0x60
mov edi, 0x30
mov edi, edi
cmp ebx, 1
jne 0x43171f
mov word [esp + eax*2 + 0xb4], di
jmp 0x43173b
cmp ebx, 2
jne 0x43172e
mov word [esp + eax*2 + 0xb4], si
jmp 0x43173b
cmp ebx, 3
jne 0x43173b
mov word [esp + eax*2 + 0xb4], dx
add eax, 1
cmp eax, ecx
jl 0x431710
mov esi, ecx
cmp ebx, 1
jne 0x431755
mov byte [esp + 0x16], 0x3a
mov byte [esp + 0x17], 0x30
jmp 0x431775
cmp ebx, 2
jne 0x431766
mov byte [esp + 0x16], 0x5b
mov byte [esp + 0x17], 0x41
jmp 0x431775
cmp ebx, 3
jne 0x431775
mov byte [esp + 0x16], 0x7b
mov byte [esp + 0x17], 0x61
add ebp, 2
push ebp
lea ecx, [esp + 0x64]
call fcn.00402a20
xor ebp, ebp
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], bp
mov byte [esp + 0x4c0], 5
mov edi, 1
jmp 0x4317b0
lea ecx, [esp + esi*2 + 0xb4]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00402820
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x4d8], 6
call fcn.0040cd30
add esp, 0x18
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4cc], 7
call fcn.00402360
lea ecx, [esp + 0x28]
call fcn.00401f00
lea ecx, [esp + 0x44]
mov byte [esp + 0x4c0], 5
call fcn.00401f00
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x43182f
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.00431300
or dword [esp + 0x28], eax
add esp, 8
lea edx, [esp + 0x2b4]
push edx
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4318b7
mov eax, dword [esp + 0x18]
add word [esp + eax*2 + 0xb2], di
movsx ecx, byte [esp + 0x16]
movzx edx, word [esp + eax*2 + 0xb2]
add eax, 0xffffffff
cmp edx, ecx
jne 0x4317b0
movsx dx, byte [esp + 0x17]
mov word [esp + eax*2 + 0xb4], dx
sub eax, edi
cmp esi, ebp
jle 0x431895
sub esi, edi
cmp eax, ebp
jl 0x4317b0
add word [esp + eax*2 + 0xb4], di
movzx ebx, word [esp + eax*2 + 0xb4]
cmp ebx, ecx
jne 0x4317b0
jmp 0x431885
lea ecx, [esp + 0x98]
call fcn.00401f00
lea ecx, [esp + 0x60]
call fcn.00401f00
lea ecx, [esp + 0x7c]
call fcn.00401f00
mov eax, dword [esp + 0x20]
jmp 0x4318f0
lea ecx, [esp + 0x60]
call fcn.00401f00
lea ecx, [esp + 0x7c]
call fcn.00401f00
or eax, 0xffffffff
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.004777ea
add esp, 0x4b0
ret