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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov edx, esp
mov dword [edx], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], eax
call fcn.00498240
sub esp, 4
lea ecx, [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 0x40], eax
call fcn.00405050
mov eax, esp
lea ecx, [esp + 0x90]
call fcn.00497c40
lea ecx, [esp + 0x80]
call fcn.00497c50
mov ecx, dword [esp + 0x44]
call fcn.00496620
sub esp, 8
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x44]
sub ecx, 0xfffffff4
mov edx, esp
lea esi, [esp + 0x78]
mov dword [edx], esi
mov dword [esp + 0x3c], eax
call fcn.00450300
sub esp, 4
lea eax, [esp + 0x78]
mov ecx, 0x4373cc
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
call fcn.004998d0
sub esp, 4
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
test al, 1
jne 0x49770e
jmp 0x497ab1
lea ecx, [esp + 0x80]
call fcn.00499900
mov dword [esp + 0x34], eax
mov al, 1
mov ecx, 0
mov edx, dword [0x88c650]
call fcn.00497c60
sub ecx, 1
mov edi, edx
add edi, ecx
imul edx, edi
and edx, 1
cmp edx, 0
sete ah
cmp esi, 0xa
setl bl
mov bh, ah
xor bh, 1
mov cl, bl
xor cl, 1
xor al, 0
mov ch, bh
and ch, 0
and ah, al
mov dl, cl
and dl, 0
and bl, al
or ch, ah
or dl, bl
xor ch, dl
or bh, cl
xor bh, 1
or al, 0
and bh, al
or ch, bh
test ch, 1
jne 0x49778e
jmp 0x497c26
mov eax, 0
mov ecx, dword [0x88c650]
call fcn.00497c70
sub eax, 1
mov esi, ecx
add esi, eax
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete bl
cmp edx, 0xa
setl bh
mov al, bl
and al, bh
xor bl, bh
or al, bl
test al, 1
jne 0x4977d7
jmp 0x497c26
mov eax, esp
lea ecx, [esp + 0x90]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
call fcn.0054f550
sub esp, 4
mov dword [esp + 0x30], eax
mov eax, dword [0x88c650]
mov ecx, dword [0x88c654]
mov edx, esi
mov edx, eax
add edx, 0xd143d872
sub edx, 1
add edx, 0x2ebc278e
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
mov al, bl
and al, bh
xor bl, bh
or al, bl
test al, 1
jne 0x497841
jmp 0x497c13
mov al, 1
mov ecx, dword [0x88c650]
call fcn.00497c80
mov esi, ecx
sub esi, 0x67866530
sub esi, 1
sub esi, 0x98799ad0
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete ah
cmp edx, 0xa
setl bl
mov bh, ah
xor bh, 1
mov cl, bl
xor cl, 1
xor al, 1
mov ch, bh
and ch, 1
and ah, al
mov dl, cl
and dl, 1
and bl, al
or ch, ah
or dl, bl
xor ch, dl
or bh, cl
xor bh, 1
or al, 1
and bh, al
or ch, bh
test ch, 1
jne 0x4978b6
jmp 0x497c13
mov eax, 0
mov ecx, dword [0x88c650]
mov edx, dword [0x88c654]
sub eax, 1
mov esi, ecx
add esi, eax
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete bl
cmp edx, 0xa
setl bh
mov al, bl
and al, bh
xor bl, bh
or al, bl
test al, 1
jne 0x497900
jmp 0x497c2b
mov eax, 0
mov ecx, dword [0x88c650]
mov edx, dword [0x88c654]
sub eax, 1
mov esi, ecx
add esi, eax
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete bl
cmp edx, 0xa
setl bh
mov al, bl
and al, bh
xor bl, bh
or al, bl
test al, 1
jne 0x49794a
jmp 0x497c2b
lea ecx, [esp + 0x80]
call fcn.00499900
mov dword [esp + 0x2c], eax
mov al, 1
mov ecx, dword [0x88c650]
mov edx, dword [0x88c654]
mov esi, ecx
add esi, 0x1198ff97
sub esi, 1
add esi, 0xee670069
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete ah
cmp edx, 0xa
setl bl
mov bh, ah
xor bh, 1
mov cl, bl
xor cl, 1
xor al, 1
mov ch, bh
and ch, 1
and ah, al
mov dl, cl
and dl, 1
and bl, al
or ch, ah
or dl, bl
xor ch, dl
or bh, cl
xor bh, 1
or al, 1
and bh, al
or ch, bh
test ch, 1
jne 0x4979d0
jmp 0x497c30
mov al, 1
mov ecx, dword [esp + 0x2c]
sub ecx, 0xffffffe8
mov edx, dword [esp + 0xb0]
mov esi, dword [0x88c650]
call fcn.00497c90
mov ebx, edx
mov ebx, esi
sub ebx, 0x800328e2
sub ebx, 1
add ebx, 0x800328e2
imul esi, ebx
and esi, 1
cmp esi, 0
sete ah
cmp edi, 0xa
setl bl
mov bh, ah
xor bh, 1
mov byte [esp + 0x2b], al
mov al, bl
xor al, 1
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x2b]
xor al, 1
mov byte [esp + 0x29], al
mov al, bh
and al, 1
mov byte [esp + 0x28], al
mov al, byte [esp + 0x29]
and ah, al
mov al, byte [esp + 0x2a]
and al, 1
mov byte [esp + 0x27], al
mov al, byte [esp + 0x29]
and bl, al
mov al, byte [esp + 0x28]
or al, ah
mov ah, byte [esp + 0x27]
or ah, bl
xor al, ah
mov ah, byte [esp + 0x2a]
or bh, ah
xor bh, 1
mov bl, byte [esp + 0x29]
or bl, 1
and bh, bl
or al, bh
test al, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
jne 0x497a8f
jmp 0x497c30
mov eax, 4
mov eax, esp
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
call fcn.0054f550
sub esp, 4
mov dword [esp + 0x18], eax
jmp 0x497bfd
mov eax, dword [esp + 0x44]
add eax, 0xc
mov ecx, dword [esp + 0xb0]
mov edx, esp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x90]
mov dword [edx], ecx
mov dword [edx + 8], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], eax
call fcn.00407e40
sub esp, 0xc
mov dword [esp + 0x10], eax
mov eax, esp
lea ecx, [esp + 0x48]
call fcn.00497ca0
mov ecx, dword [esp + 0x14]
call fcn.004999f0
sub esp, 4
mov al, 1
call fcn.00497cb0
mov edx, dword [0x88c654]
mov esi, ecx
add esi, 0xd8d711c1
sub esi, 1
sub esi, 0xd8d711c1
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete ah
cmp edx, 0xa
setl bl
mov bh, ah
xor bh, 1
mov cl, bl
xor cl, 1
xor al, 1
mov ch, bh
and ch, 1
and ah, al
mov dl, cl
and dl, 1
and bl, al
or ch, ah
or dl, bl
xor ch, dl
or bh, cl
xor bh, 1
or al, 1
and bh, al
or ch, bh
test ch, 1
jne 0x497b76
jmp 0x497c18
lea ecx, [esp + 0x48]
call fcn.004504b0
mov al, 1
mov ecx, 0
call fcn.00497cc0
mov esi, dword [0x88c654]
sub ecx, 1
mov edi, edx
add edi, ecx
imul edx, edi
and edx, 1
cmp edx, 0
sete ah
push ebx
mov ebx, 0x5e3234c4
xor ebx, 0x5e3234ce
cmp esi, ebx
pop ebx
setl bl
mov bh, ah
xor bh, 1
mov cl, bl
xor cl, 1
xor al, 0
mov ch, bh
and ch, 0
and ah, al
mov dl, cl
and dl, 0
and bl, al
or ch, ah
or dl, bl
xor ch, dl
or bh, cl
xor bh, 1
or al, 0
and bh, al
or ch, bh
test ch, 1
jne 0x497bf8
jmp 0x497c18
jmp 0x497bfd
lea ecx, [esp + 0x90]
call fcn.00551e20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
jmp 0x497841
lea ecx, [esp + 0x48]
call fcn.004504b0
jmp 0x497b76
jmp 0x49778e
jmp 0x497900
jmp 0x4979d0