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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x4225d0]
mov ecx, dword [esp + 0x74]
xor esi, esi
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
add eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp], 0
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], eax
mov eax, 0x2106262f
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov ebx, 0xa63a33d9
mov edi, 0x164cd7e9
lea edx, [eax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl ah
xor ah, al
cmovne ebx, edi
cmp edx, 0xffffffff
mov eax, ebx
cmove eax, edi
cmp ecx, 0xa
cmovge eax, ebx
nop word cs:[eax + eax]
nop
cmp eax, 0xea19a0bd
jg 0x401440
cmp eax, 0xa63a33d8
jg 0x4014e0
cmp eax, 0x91f5cbfa
jle 0x401561
cmp eax, 0x91f5cbfb
je 0x401710
cmp eax, 0x935f9cfe
je 0x40173c
cmp eax, 0x9e4af446
jne 0x4013e0
cmp byte [esp + 0x27], 0
mov edx, dword [esp + 0x3c]
mov eax, 0x841b499
mov ecx, 0xbf1c12e5
cmovne eax, ecx
mov dword [esp + 4], edx
cmp eax, 0xea19a0bd
jle 0x4013e7
nop dword [eax + eax]
cmp eax, 0x152e5fd5
jle 0x401530
cmp eax, 0x1ce41fa1
jle 0x40157c
cmp eax, 0x1ce41fa2
je 0x401789
cmp eax, 0x7f423e74
je 0x4017ea
cmp eax, 0x2106262f
jne 0x4013e0
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov edi, 0x8d748209
mov dword [esp + 0x2c], esi
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
mov ebx, 0xa68174aa
cmovne ebx, edi
test eax, edx
mov edx, dword [esp]
mov eax, ebx
cmove eax, edi
mov edi, dword [esp + 8]
cmp ecx, 0xa
cmovge eax, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edi
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
cmp eax, 0xbbc65e59
jle 0x4015f0
cmp eax, 0xbbc65e5a
je 0x40183b
cmp eax, 0xbf1c12e5
je 0x401858
cmp eax, 0xc08b935c
jne 0x4013e0
mov eax, 0x8d748209
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
cmp eax, 0xf83b9770
jle 0x401620
cmp eax, 0xf83b9771
je 0x401881
cmp eax, 0x88f07cb
je 0x40189b
cmp eax, 0x841b499
jne 0x4013e0
jmp 0x401a91
cmp eax, 0x80438a28
je 0x4018bd
cmp eax, 0x8d748209
jne 0x4013e0
jmp 0x401395
cmp eax, 0x152e5fd6
je 0x401995
cmp eax, 0x164cd7e9
jne 0x4013e0
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov ebx, 0xa63a33d9
mov edi, 0xf83b9771
lea edx, [eax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl ah
xor ah, al
cmovne ebx, edi
cmp edx, 0xffffffff
mov eax, ebx
cmove eax, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
cmp ecx, 0xa
cmovge eax, ebx
cmp edx, edi
setb byte [esp + 0x1f]
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
cmp eax, 0xa63a33d9
je 0x4019b2
cmp eax, 0xa68174aa
jne 0x4013e0
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov ebx, 0x152e5fd6
mov edi, 0x7f423e74
jmp 0x4013aa
cmp eax, 0xea19a0be
je 0x4019cf
cmp eax, 0xf36f40c8
jne 0x4013e0
lea ecx, [esp + 0x44]
call fcn.00404490
mov eax, dword [0x422fd4]
mov ecx, dword [0x422fd8]
mov ebx, 0xc2731211
mov edi, 0x5e937de5
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
mov eax, 0x5e937de5
sete dl
sete byte [esp + 0x42]
cmove eax, ebx
cmp ecx, 0xa
setl cl
setl byte [esp + 0x43]
cmovge eax, edi
xor cl, dl
mov ecx, 0x4cc54002
cmovne eax, ebx
nop dword [eax]
cmp ecx, 0x4cc54001
jg 0x4016c0
cmp ecx, 0xb3e5d2b5
je 0x4016ad
cmp ecx, 0xc2731211
jne 0x401690
jmp 0x401a17
mov ecx, eax
cmp ecx, 0x4cc54001
jle 0x401698
nop word [eax + eax]
cmp ecx, 0x5e937de5
je 0x401701
cmp ecx, 0x4cc54002
jne 0x401690
movzx edx, byte [esp + 0x42]
movzx ecx, byte [esp + 0x43]
mov ebx, 0x5e937de5
mov edi, 0xb3e5d2b5
mov ch, dl
xor ch, cl
cmovne ebx, edi
test cl, cl
mov ecx, ebx
cmovne ecx, edi
test dl, dl
cmove ecx, ebx
cmp ecx, 0x4cc54001
jle 0x401698
jmp 0x4016c0
mov ecx, 0xb3e5d2b5
cmp ecx, 0x4cc54001
jle 0x401698
jmp 0x4016c0
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], 0
mov eax, 0x1ce41fa2
mov ecx, dword [esp + 0x30]
add ebp, 4
mov dword [esp + 0xc], ecx
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x20]
mov ecx, ebx
add eax, dword [esp + 0x74]
push eax
call fcn.00401ab0
push 0x235
push ebx
call section..text
add esp, 8
cmp eax, dword [esp + 0x78]
mov eax, 0x91f5cbfb
mov ecx, 0xea19a0be
cmove eax, ecx
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov edi, 0xf36f40c8
mov dword [esp + 0x34], ebp
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
mov ebx, 0x80438a28
cmovne ebx, edi
test eax, edx
mov edx, dword [esp + 0xc]
mov eax, ebx
cmove eax, edi
mov edi, dword [esp + 0x10]
cmp ecx, 0xa
cmovge eax, ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov eax, dword [0x422fcc]
mov ebx, 0xc08b935c
mov edi, 0x152e5fd6
lea ecx, [eax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
mov eax, 0x152e5fd6
sete cl
cmove eax, ebx
cmp dword [0x422fd0], 0xa
setl dl
cmovge eax, edi
xor dl, cl
cmovne eax, ebx
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov ecx, dword [esp + 0x30]
mov eax, 0x841b499
mov dword [esp + 4], ecx
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
inc esi
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, 0x2106262f
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov ebx, 0xa68174aa
mov edi, 0x88f07cb
jmp 0x4013aa
cmp byte [esp + 0x1f], 0
mov eax, 0xbbc65e5a
mov ecx, 0x935f9cfe
cmovne eax, ecx
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
lea ecx, [esp + 0x44]
call fcn.00404490
mov eax, dword [0x422fd4]
mov ecx, dword [0x422fd8]
mov ebx, 0xc2731211
mov edi, 0x5e937de5
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
mov eax, 0x5e937de5
sete dl
sete byte [esp + 0x42]
cmove eax, ebx
cmp ecx, 0xa
setl cl
setl byte [esp + 0x43]
cmovge eax, edi
xor cl, dl
mov ecx, 0x4cc54002
cmovne eax, ebx
cmp ecx, 0x4cc54001
jg 0x401940
cmp ecx, 0xb3e5d2b5
je 0x40192d
cmp ecx, 0xc2731211
jne 0x401910
jmp 0x401a74
mov ecx, eax
cmp ecx, 0x4cc54001
jle 0x401918
nop word [eax + eax]
cmp ecx, 0x5e937de5
je 0x401986
cmp ecx, 0x4cc54002
jne 0x401910
movzx edx, byte [esp + 0x42]
movzx ecx, byte [esp + 0x43]
mov ebx, 0xb3e5d2b5
mov edi, 0x5e937de5
mov dh, cl
xor dh, dl
test cl, cl
mov ecx, 0x5e937de5
cmovne ecx, ebx
test dl, dl
cmove ecx, edi
test dh, dh
cmovne ecx, ebx
cmp ecx, 0x4cc54001
jle 0x401918
jmp 0x401940
mov ecx, 0xb3e5d2b5
cmp ecx, 0x4cc54001
jle 0x401918
jmp 0x401940
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov eax, 0x7f423e74
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov eax, 0x164cd7e9
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x24]
mov edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x2c]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 2
mov ecx, dword [ecx + 0x1c]
add ecx, edx
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
mov eax, 0x1ce41fa2
mov ebp, dword [esp + 0x28]
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [0x422fcc]
mov ecx, dword [0x422fd0]
mov ebx, 0x80438a28
mov edi, 0x9e4af446
lea edx, [eax - 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl ah
xor ah, al
cmovne ebx, edi
cmp edx, 0xffffffff
mov eax, ebx
cmove eax, edi
cmp ecx, 0xa
mov ecx, dword [esp + 0x20]
cmovge eax, ebx
cmp dword [esp + 0x38], 0
sete byte [esp + 0x27]
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov eax, 0xf36f40c8
cmp eax, 0xea19a0bd
jle 0x4013e7
jmp 0x401440
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
add esi, dword [esp + 0x74]
xor ecx, esp
call fcn.00409273
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret