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

Disassembly:
push 0xffffffffffffffff
push 0x47f801
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x49d2b0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebp
mov esi, 1
mov dword [esp + 0x68], esi
xor eax, eax
lea edi, [ebp + 7]
cmp dword [esp + 0x84], ebp
jne 0x4034a1
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
push 0xffffffffffffffff
mov word [ebx + 4], ax
push ebp
lea eax, [esp + 0x78]
call fcn.004023c0
mov dword [esp + 0x18], esi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x88], 8
jmp 0x4036ea
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
mov byte [esp + 0x68], 2
xor ecx, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], cx
mov byte [esp + 0x68], 3
mov dword [esp + 0x1c], ebp
push ebp
mov eax, 0x4857f8
cmp dword [esp + 0x88], ebp
jne 0x4034f2
xor edx, edx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
mov esi, ebx
mov word [ebx + 4], dx
call fcn.00402880
jmp 0x403684
lea esi, [esp + 0x28]
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 0x2e
mov byte [esp + 0x1a], 0x6e
mov byte [esp + 0x1b], 0x6d
call fcn.00402880
mov ecx, dword [esp + 0x84]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4035d7
xor edi, edi
cmp edi, ecx
jbe 0x403537
call fcn.0045fdc5
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
mov ebx, 8
cmp dword [esp + 0x88], ebx
jae 0x40354d
lea eax, [esp + 0x74]
movzx esi, byte [eax + edi*2]
sub esi, 0x41
lea eax, [edi + 1]
imul esi, esi, 0x1a
cmp eax, ecx
jbe 0x403563
call fcn.0045fdc5
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebx
jae 0x403574
lea eax, [esp + 0x74]
movzx ecx, byte [eax + edi*2 + 2]
lea ebx, [esi + ecx - 0x41]
push 1
mov eax, 0x485840
lea esi, [esp + 0x44]
call fcn.00402880
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x40359c
lea eax, [esp + 0x44]
push 0
lea edx, [esp + 0x44]
mov word [eax], bx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x2c]
call fcn.00401e80
mov ecx, dword [esp + 0x84]
mov eax, ecx
cdq
sub eax, edx
inc ebp
sar eax, 1
add edi, 2
cmp ebp, eax
jl 0x403527
mov ebx, dword [esp + 0x20]
mov edi, 7
xor ebp, ebp
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x78]
call fcn.004023c0
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, ebp
jle 0x40366a
cmp esi, eax
jbe 0x4035fd
call fcn.0045fdc5
mov eax, dword [esp + 0x74]
mov ebp, 8
cmp dword [esp + 0x88], ebp
jae 0x403613
lea eax, [esp + 0x74]
mov bl, byte [eax + esi*2]
mov edi, dword [esp + 0x1c]
mov al, byte [esp + edi + 0x14]
sub bl, al
cmp esi, dword [esp + 0x38]
jbe 0x40362b
call fcn.0045fdc5
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebp
jae 0x403639
lea eax, [esp + 0x28]
movzx cx, bl
inc edi
cmp edi, 4
mov word [eax + esi*2], cx
mov dword [esp + 0x1c], edi
jl 0x403653
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x84]
inc esi
cmp esi, eax
jl 0x4035f6
mov ebx, dword [esp + 0x20]
mov edi, 7
xor ebp, ebp
push 0xffffffffffffffff
xor edx, edx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
push ebp
lea eax, [esp + 0x2c]
mov ecx, ebx
mov word [ebx + 4], dx
call fcn.004023c0
mov dword [esp + 0x18], 1
mov byte [esp + 0x68], 2
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x4036a9
mov eax, dword [esp + 0x44]
push eax
call fcn.0045f4bb
add esp, 4
xor ecx, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], cx
mov byte [esp + 0x68], 1
cmp dword [esp + 0x3c], esi
jb 0x4036d0
mov edx, dword [esp + 0x28]
push edx
call fcn.0045f4bb
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
mov byte [esp + 0x68], al
cmp dword [esp + 0x88], esi
jb 0x4036f9
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0045f4bb
add esp, 4
xor edx, edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], dx
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0045f4ac
add esp, 0x58
ret