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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [0x447834]
mov esi, dword [esp + 0x80]
xor ebx, ebx
lea ebp, [esp + 0x50]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp], 0
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x20], eax
mov eax, 0xf9fe84fe
cmp eax, 0xeacf24f
jle 0x4068ab
jmp 0x406a80
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov dword [esp], eax
inc ebx
mov eax, 0xf9fe84fe
mov edi, dword [esp + 0x34]
nop dword [eax]
cmp eax, 0xeacf24f
jg 0x406a80
cmp eax, 0xf9fe84fd
jg 0x406a30
cmp eax, 0x9ca3d117
je 0x406888
cmp eax, 0xc2ce45be
jne 0x4068a0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], 0
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
add edi, esi
push edi
call fcn.004259c0
add esp, 4
mov dword [esp + 0x40], ebp
mov ebx, eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x44], eax
mov eax, 0x3db5b02e
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, 0x569be8e5
jg 0x406950
cmp eax, 0xb1e181ae
je 0x40698a
cmp eax, 0x3db5b02e
jne 0x406920
mov eax, dword [esp + 0x44]
mov ecx, 0x61261b6f
cmp eax, ebx
mov eax, 0xb1e181ae
cmovb eax, ecx
cmp eax, 0x569be8e5
jle 0x406927
nop
cmp eax, 0x569be8e6
je 0x406afb
cmp eax, 0x61261b6f
jne 0x406920
sub esp, 0xc
movzx eax, byte [esp + 0x48]
mov ecx, ebp
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.00407c60
mov eax, 0x569be8e6
cmp eax, 0x569be8e5
jle 0x406927
jmp 0x406950
mov eax, dword [esp + 0x40]
mov ebp, esi
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov ecx, 0x3fe64919
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp ecx, 0x78124d09
je 0x4069fa
cmp ecx, 0x52b8a09c
je 0x4069e7
cmp ecx, 0x3fe64919
jne 0x4069b0
cmp dword [eax + 0x14], 0xf
mov esi, dword [esp + 0x4c]
mov ecx, 0x78124d09
mov edx, 0x52b8a09c
cmova ecx, edx
cmp ecx, 0x78124d09
jne 0x4069b8
jmp 0x4069fa
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx]
mov ecx, 0x78124d09
cmp ecx, 0x78124d09
jne 0x4069b8
mov eax, dword [esp + 0x40]
mov dword [eax + 0x10], ebx
push ebx
push edi
push esi
call fcn.0041ced0
add esp, 0xc
mov byte [esi + ebx], 0
mov esi, ebp
mov eax, 0x569be8e6
lea ebp, [esp + 0x50]
cmp eax, 0x569be8e5
jle 0x406927
jmp 0x406950
cmp eax, 0xf9fe84fe
je 0x406b35
cmp eax, 0xce5b44b
jne 0x4068a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], 0
add eax, 4
mov dword [esp + 0x10], eax
mov eax, 0x7364b9c5
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
cmp eax, 0xeacf24f
jle 0x4068ab
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp eax, 0x45475c8a
jle 0x406ae0
cmp eax, 0x45475c8b
je 0x406b6b
cmp eax, 0x7364b9c5
jne 0x4068a0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00407ab0
mov eax, dword [esp + 0x24]
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x38]
mov eax, 0x2d89af67
mov ecx, 0x9ca3d117
cmove eax, ecx
mov dword [esp + 4], edx
cmp eax, 0xeacf24f
jle 0x4068ab
jmp 0x406a80
cmp eax, 0xeacf250
je 0x406b88
cmp eax, 0x2d89af67
jne 0x4068a0
jmp 0x406bce
push 0x235
push ebp
call fcn.00404df0
add esp, 8
cmp eax, dword [esp + 0x84]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, 0xce5b44b
mov ecx, 0xeacf250
cmove eax, ecx
cmp eax, 0xeacf24f
jle 0x4068ab
jmp 0x406a80
mov eax, dword [esp]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov edx, 0xc2ce45be
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
mov eax, 0x45475c8b
cmovb eax, edx
cmp eax, 0xeacf24f
jle 0x4068ab
jmp 0x406a80
mov ecx, dword [esp + 0x30]
mov eax, 0x2d89af67
mov dword [esp + 4], ecx
cmp eax, 0xeacf24f
jle 0x4068ab
jmp 0x406a80
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x2c]
add eax, esi
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], 2
mov ecx, dword [ecx + 0x1c]
add ecx, esi
mov eax, dword [ecx + eax*4]
mov dword [esp + 8], eax
mov eax, 0x7364b9c5
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
cmp eax, 0xeacf24f
jle 0x4068ab
jmp 0x406a80
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x68]
xor ecx, esp
add edi, esi
call fcn.004178c4
mov eax, edi
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret