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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [0x4fc520]
mov edx, dword [0x4fc51c]
mov edi, ecx
add edi, 0x84733214
sub edi, 1
sub edi, 0x84733214
imul ecx, edi
and ecx, 1
cmp ecx, 0
sete bl
and bl, 1
mov byte [esi + 0xb2], bl
cmp edx, 0xa
setl bl
and bl, 1
mov byte [esi + 0xb3], bl
mov dword [esi + 0xac], 0xa352b31
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xac]
mov ecx, eax
sub ecx, 0x8d6a65a9
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], ecx
jg 0x409455
jmp 0x409439
mov eax, dword [esi + 0xa0]
sub eax, 0x81dbac08
mov dword [esi + 0x98], eax
je 0x409957
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0xa2ef66aa
mov dword [esi + 0x94], eax
jg 0x40948d
jmp 0x409471
mov eax, dword [esi + 0xa0]
sub eax, 0x8d6a65aa
mov dword [esi + 0x90], eax
je 0x409a6d
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0xb8899140
mov dword [esi + 0x8c], eax
jg 0x4094c5
jmp 0x4094a9
mov eax, dword [esi + 0xa0]
sub eax, 0xa2ef66ab
mov dword [esi + 0x88], eax
je 0x409a38
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0x52ed8501
mov dword [esi + 0x84], eax
jg 0x40968d
jmp 0x4094e1
mov eax, dword [esi + 0xa0]
sub eax, 0x4ff20648
mov dword [esi + 0x80], eax
jg 0x409674
jmp 0x4094fd
mov eax, dword [esi + 0xa0]
sub eax, 0x3c29fb03
mov dword [esi + 0x7c], eax
jg 0x40965b
jmp 0x409516
mov eax, dword [esi + 0xa0]
sub eax, 0x2824679e
mov dword [esi + 0x78], eax
jg 0x409642
jmp 0x40952f
mov eax, dword [esi + 0xa0]
sub eax, 0x168aa68e
mov dword [esi + 0x74], eax
jg 0x409629
jmp 0x409548
mov eax, dword [esi + 0xa0]
sub eax, 0xa352b30
mov dword [esi + 0x70], eax
jg 0x409610
jmp 0x409561
mov eax, dword [esi + 0xa0]
sub eax, 0xf5fce7aa
mov dword [esi + 0x6c], eax
jg 0x4095f7
jmp 0x40957a
mov eax, dword [esi + 0xa0]
sub eax, 0xed27dedc
mov dword [esi + 0x68], eax
jg 0x4095de
jmp 0x409593
mov eax, dword [esi + 0xa0]
sub eax, 0xb8899141
mov dword [esi + 0x64], eax
je 0x4098c2
jmp 0x4095ac
mov eax, dword [esi + 0xa0]
sub eax, 0xba374fed
mov dword [esi + 0x60], eax
je 0x409821
jmp 0x4095c5
mov eax, dword [esi + 0xa0]
sub eax, 0xe173c5ee
mov dword [esi + 0x5c], eax
je 0x409805
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0xed27dedd
mov dword [esi + 0x58], eax
je 0x4098a0
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0xf5fce7ab
mov dword [esi + 0x54], eax
je 0x409a28
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0xa352b31
mov dword [esi + 0x50], eax
je 0x4096ab
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0x168aa68f
mov dword [esi + 0x4c], eax
je 0x4096da
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0x2824679f
mov dword [esi + 0x48], eax
je 0x4097e7
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0x3c29fb04
mov dword [esi + 0x44], eax
je 0x4097a2
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0x4ff20649
mov dword [esi + 0x40], eax
je 0x409a19
jmp 0x4096a6
mov eax, dword [esi + 0xa0]
sub eax, 0x52ed8502
mov dword [esi + 0x3c], eax
je 0x4097c3
jmp 0x4096a6
jmp 0x409aa4
mov eax, 0xa2ef66ab
mov ecx, 0x168aa68f
mov dl, byte [esi + 0xb2]
mov dh, byte [esi + 0xb3]
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [esi + 0xac], eax
jmp 0x409aa4
mov eax, 0xa2ef66ab
mov ecx, 0x3c29fb04
mov edx, 4
mov dword [esi + 0x38], eax
mov eax, edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], ecx
call fcn.004d8d00
mov eax, esp
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x34]
call fcn.004d8d00
mov eax, esp
mov dword [esi + 0xb8], eax
mov eax, 0x114
call fcn.004d8d00
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xa4]
mov dword [eax], ecx
cmp dword [0x4facc0], 0
setne bl
and bl, 1
mov byte [esi + 0xc3], bl
mov eax, dword [0x4fc520]
mov edx, dword [0x4fc51c]
mov edi, eax
add edi, 0x380f7cc8
sub edi, 1
sub edi, 0x380f7cc8
imul eax, edi
and eax, 1
cmp eax, 0
sete bl
cmp edx, 0xa
setl bh
mov al, bl
and al, bh
xor bl, bh
or al, bl
test al, 1
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x30]
cmovne edx, edi
mov dword [esi + 0xac], edx
jmp 0x409aa4
mov eax, 0xba374fed
mov ecx, 0x52ed8502
mov dl, byte [esi + 0xc3]
test dl, 1
cmovne eax, ecx
mov dword [esi + 0xac], eax
jmp 0x409aa4
mov eax, 0xe173c5ee
mov ecx, 0x2824679f
mov edx, dword [esi + 0xb8]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [esi + 0xac], eax
jmp 0x409aa4
mov eax, dword [0x4facc4]
mov ecx, dword [esi + 0xb8]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0xac], 0xe173c5ee
jmp 0x409aa4
mov eax, dword [0x4facc0]
mov ecx, dword [esi + 0xb4]
mov dword [ecx], eax
mov dword [esi + 0xac], 0xf5fce7ab
jmp 0x409aa4
mov eax, 0
mov ecx, 0x114
mov edx, dword [esi + 0xbc]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x114
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
call fcn.0040c560
add esp, 0xc
mov ecx, dword [esi + 0xbc]
mov dword [ecx], 0x114
mov ecx, dword [0x4fc490]
mov edx, dword [esi + 0xbc]
sub esp, 4
mov edi, esp
mov dword [edi], edx
mov dword [esi + 0x24], eax
call ecx
mov ecx, 0xb8899141
mov edx, 0xed27dedd
mov edi, dword [esi + 0xb8]
cmp dword [edi], 0
cmovne ecx, edx
mov dword [esi + 0xac], ecx
mov dword [esi + 0x20], eax
jmp 0x409aa4
mov eax, dword [esi + 0xbc]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0xb8]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0xac], 0xb8899141
jmp 0x409aa4
mov eax, 0x8d6a65aa
mov ecx, 0x81dbac08
mov dl, 1
mov edi, 0
mov ebx, dword [0x4fc520]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4fc51c]
sub edi, 1
mov dword [esi + 0x18], eax
mov eax, ebx
add eax, edi
imul ebx, eax
and ebx, 1
cmp ebx, 0
sete dh
mov eax, dword [esi + 0x18]
cmp eax, 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 [esi + 0x17], al
mov al, bl
and al, 0
mov byte [esi + 0x16], al
mov al, byte [esi + 0x17]
and al, dl
or bh, dh
mov dh, byte [esi + 0x16]
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 edi, dword [esi + 0x1c]
cmovne edi, ecx
mov dword [esi + 0xac], edi
jmp 0x409aa4
mov eax, 0x8d6a65aa
mov ecx, 0x4ff20649
mov dl, 1
mov edi, dword [esi + 0xbc]
mov edi, dword [edi + 4]
mov dword [0x4facc0], edi
mov edi, dword [esi + 0xbc]
mov edi, dword [edi + 8]
mov dword [0x4facc4], edi
mov edi, dword [esi + 0xbc]
mov edi, dword [edi + 4]
mov ebx, dword [esi + 0xb4]
mov dword [ebx], edi
mov edi, dword [0x4fc520]
mov ebx, dword [0x4fc51c]
mov dword [esi + 0x10], eax
mov eax, edi
sub eax, 0xc84f8414
sub eax, 1
add eax, 0xc84f8414
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 [esi + 0xf], al
mov al, bl
and al, 0
mov byte [esi + 0xe], al
mov al, byte [esi + 0xf]
and al, dl
or bh, dh
mov dh, byte [esi + 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 edi, dword [esi + 0x10]
cmovne edi, ecx
mov dword [esi + 0xac], edi
jmp 0x409aa4
mov dword [esi + 0xac], 0xf5fce7ab
jmp 0x409aa4
mov eax, dword [esi + 0xb4]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 4
mov dword [esi + 8], eax
call fcn.004d8d00
mov eax, esp
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, ecx
call fcn.004d8d00
mov eax, esp
mov ecx, dword [esi + 0xa4]
mov dword [eax], ecx
mov dword [esi + 0xac], 0x168aa68f
jmp 0x409aa4
mov eax, dword [esi + 0xbc]
mov eax, dword [eax + 4]
mov dword [0x4facc0], eax
mov eax, dword [esi + 0xbc]
mov eax, dword [eax + 8]
mov dword [0x4facc4], eax
mov eax, dword [esi + 0xbc]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xb4]
mov dword [ecx], eax
mov dword [esi + 0xac], 0x81dbac08
jmp 0x409414