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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1d8
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c0], eax
mov eax, dword [0x4feb80]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0xa4], 0x50f4ef42
mov eax, dword [esp + 0xa4]
mov ecx, eax
sub ecx, 0x7f09d03d
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
jg 0x40a60f
jmp 0x40a2eb
mov eax, dword [esp + 0xa0]
sub eax, 0x79ae54b5
mov dword [esp + 0x98], eax
jg 0x40a5f4
jmp 0x40a309
mov eax, dword [esp + 0xa0]
sub eax, 0x687c1ef3
mov dword [esp + 0x94], eax
jg 0x40a5d9
jmp 0x40a327
mov eax, dword [esp + 0xa0]
sub eax, 0xb5ecad46
mov dword [esp + 0x90], eax
jg 0x40a363
jmp 0x40a345
mov eax, dword [esp + 0xa0]
sub eax, 0xb1347a71
mov dword [esp + 0x8c], eax
je 0x40a74e
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0xc10b337b
mov dword [esp + 0x88], eax
jg 0x40a39f
jmp 0x40a381
mov eax, dword [esp + 0xa0]
sub eax, 0xb5ecad47
mov dword [esp + 0x84], eax
je 0x40aa6c
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0xdac40018
mov dword [esp + 0x80], eax
jg 0x40a3d8
jmp 0x40a3bd
mov eax, dword [esp + 0xa0]
sub eax, 0xc10b337c
mov dword [esp + 0x7c], eax
je 0x40a6b4
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0xe5c38c6c
mov dword [esp + 0x78], eax
jg 0x40a40e
jmp 0x40a3f3
mov eax, dword [esp + 0xa0]
sub eax, 0xdac40019
mov dword [esp + 0x74], eax
je 0x40a655
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x2016c15
mov dword [esp + 0x70], eax
jg 0x40a444
jmp 0x40a429
mov eax, dword [esp + 0xa0]
sub eax, 0xe5c38c6d
mov dword [esp + 0x6c], eax
je 0x40a826
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0xe88cb4a
mov dword [esp + 0x68], eax
jg 0x40a47a
jmp 0x40a45f
mov eax, dword [esp + 0xa0]
sub eax, 0x2016c16
mov dword [esp + 0x64], eax
je 0x40a788
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x335cb48c
mov dword [esp + 0x60], eax
jg 0x40a4b0
jmp 0x40a495
mov eax, dword [esp + 0xa0]
sub eax, 0xe88cb4b
mov dword [esp + 0x5c], eax
je 0x40a76c
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x5e7f996e
mov dword [esp + 0x58], eax
jg 0x40a5be
jmp 0x40a4cb
mov eax, dword [esp + 0xa0]
sub eax, 0x5a7f25e8
mov dword [esp + 0x54], eax
jg 0x40a5a3
jmp 0x40a4e6
mov eax, dword [esp + 0xa0]
sub eax, 0x57254572
mov dword [esp + 0x50], eax
jg 0x40a588
jmp 0x40a501
mov eax, dword [esp + 0xa0]
sub eax, 0x50f4ef41
mov dword [esp + 0x4c], eax
jg 0x40a56d
jmp 0x40a51c
mov eax, dword [esp + 0xa0]
sub eax, 0x335cb48d
mov dword [esp + 0x48], eax
je 0x40aa17
jmp 0x40a537
mov eax, dword [esp + 0xa0]
sub eax, 0x35e1065d
mov dword [esp + 0x44], eax
je 0x40aa26
jmp 0x40a552
mov eax, dword [esp + 0xa0]
sub eax, 0x3fe92e9d
mov dword [esp + 0x40], eax
je 0x40aa36
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x50f4ef42
mov dword [esp + 0x3c], eax
je 0x40a62f
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x57254573
mov dword [esp + 0x38], eax
je 0x40a950
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x5a7f25e9
mov dword [esp + 0x34], eax
je 0x40a9af
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x5e7f996f
mov dword [esp + 0x30], eax
je 0x40a72b
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x687c1ef4
mov dword [esp + 0x2c], eax
je 0x40a806
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x79ae54b6
mov dword [esp + 0x28], eax
je 0x40a880
jmp 0x40a62a
mov eax, dword [esp + 0xa0]
sub eax, 0x7f09d03e
mov dword [esp + 0x24], eax
je 0x40a940
jmp 0x40a62a
jmp 0x40aa77
mov eax, 0x2016c16
mov ecx, 0xdac40019
mov edx, dword [esp + 0x1c8]
cmp edx, 0
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, 0x35e1065d
mov ecx, 0xc10b337c
mov edx, dword [0x5003c0]
mov esi, dword [0x5003bc]
mov edi, edx
sub edi, 0xa529cbc6
sub edi, 1
add edi, 0xa529cbc6
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, 0x35e1065d
mov ecx, 0x5e7f996f
cmp dword [esp + 0x1c0], 0
setne dl
and dl, 1
mov byte [esp + 0x1cf], dl
mov esi, dword [0x5003c0]
mov edi, dword [0x5003bc]
mov ebx, esi
sub ebx, 0x93dca220
sub ebx, 1
add ebx, 0x93dca220
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, 0xe88cb4b
mov ecx, 0xb1347a71
mov dl, byte [esp + 0x1cf]
test dl, 1
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, dword [0x4feb84]
mov ecx, dword [esp + 0x1c0]
mov dword [ecx], eax
mov dword [esp + 0xa4], 0xe88cb4b
jmp 0x40aa77
mov eax, dword [0x4feb80]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0xa4], 0x57254573
jmp 0x40aa77
mov eax, 0
mov ecx, 0x114
lea edx, [esp + 0xa8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x114
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.0040dd40
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], 0x114
mov edx, dword [0x500338]
mov esi, esp
mov dword [esi], ecx
mov dword [esp + 0x18], eax
call edx
sub esp, 4
mov ecx, 0xe5c38c6d
mov edx, 0x687c1ef4
cmp dword [esp + 0x1c0], 0
cmovne ecx, edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x14], eax
jmp 0x40aa77
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x1c0]
mov dword [ecx], eax
mov dword [esp + 0xa4], 0xe5c38c6d
jmp 0x40aa77
mov eax, 0x3fe92e9d
mov ecx, 0x79ae54b6
mov edx, 0
mov esi, dword [0x5003c0]
mov edi, dword [0x5003bc]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, 0x3fe92e9d
mov ecx, 0x7f09d03e
mov dl, 1
mov esi, 0
mov edi, dword [esp + 0xac]
mov dword [0x4feb80], edi
mov edi, dword [esp + 0xb0]
mov dword [0x4feb84], edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x1c4], edi
mov edi, dword [0x5003c0]
mov ebx, dword [0x5003bc]
sub esi, 1
mov dword [esp + 0x10], eax
mov eax, edi
add eax, esi
imul edi, eax
and edi, 1
cmp edi, 0
sete dh
cmp ebx, 0xa
setl al
mov ah, dh
xor ah, 1
mov bl, al
xor bl, 1
xor dl, 0
mov bh, ah
and bh, 0
and dh, dl
mov byte [esp + 0xf], al
mov al, bl
and al, 0
mov byte [esp + 0xe], al
mov al, byte [esp + 0xf]
and al, dl
or bh, dh
mov dh, byte [esp + 0xe]
or dh, al
xor bh, dh
or ah, bl
xor ah, 1
or dl, 0
and ah, dl
or bh, ah
test bh, 1
mov esi, dword [esp + 0x10]
cmovne esi, ecx
mov dword [esp + 0xa4], esi
jmp 0x40aa77
mov dword [esp + 0xa4], 0x57254573
jmp 0x40aa77
mov eax, 0xb5ecad47
mov ecx, 0x5a7f25e9
mov edx, dword [0x5003c0]
mov esi, dword [0x5003bc]
mov edi, edx
add edi, 0x49dab346
sub edi, 1
sub edi, 0x49dab346
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, 0xb5ecad47
mov ecx, 0x335cb48d
mov edx, 0
mov esi, dword [esp + 0x1c4]
mov dword [esp + 0x1d0], esi
mov esi, dword [0x5003c0]
mov edi, dword [0x5003bc]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [esp + 0xa4], eax
jmp 0x40aa77
mov eax, dword [esp + 0x1d0]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xa4], 0xc10b337c
jmp 0x40aa77
mov eax, dword [esp + 0xac]
mov dword [0x4feb80], eax
mov eax, dword [esp + 0xb0]
mov dword [0x4feb84], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0xa4], 0x79ae54b6
jmp 0x40aa77
mov dword [esp + 0xa4], 0x5a7f25e9
jmp 0x40a2c3