Function at 0x402ca4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [0x44c08c]
push section..rdata
call esi
mov dword [ebp - 0x20], eax
push 0x44100d
call esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
mov byte [ebp - 0x19], al
mov dword [ebp - 0x14], 0x6968a62a
mov eax, dword [ebp - 0x14]
cmp eax, 0xeb24930c
jg 0x402d3e
cmp eax, 0xc98cd667
jg 0x402dae
cmp eax, 0xa6000c43
jg 0x402e58
cmp eax, 0x8030d68c
je 0x402f6b
cmp eax, 0x88f26804
je 0x402f82
cmp eax, 0x8ad35c08
jne 0x402cdc
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x24], 0
mov eax, 0xbd17c811
jne 0x402d2c
mov eax, 0x4ff346d1
test ecx, ecx
jne 0x403135
mov eax, 0x4ff346d1
jmp 0x403135
cmp eax, 0xe7b909d
jle 0x402e07
cmp eax, 0x387b75ec
jg 0x402eac
cmp eax, 0xe7b909e
je 0x402f9f
cmp eax, 0x18ea0db3
je 0x40305d
cmp eax, 0x315c2ad6
jne 0x402cdc
mov eax, dword [ebp - 0x10]
shl eax, 3
lea eax, [eax + eax*8]
shr eax, 0xe
add eax, 0xfffffedd
shr eax, 1
mov esi, 0x8030d68c
and eax, 0x7ffffc00
mov dword [ebp - 0x10], eax
je 0x402d9c
mov esi, 0x8ad35c08
call fcn.00402581
call fcn.00402581
mov dword [ebp - 0x14], esi
jmp 0x402cdc
cmp eax, 0xd5f11d67
jg 0x402ee8
cmp eax, 0xc98cd668
je 0x402fc3
cmp eax, 0xd12351e5
je 0x402fe5
cmp eax, 0xd5ed9a44
jne 0x402cdc
imul eax, dword [ebp - 0x10], 0x6590000
or eax, 0x61
imul esi, eax, 0x20e8
mov dword [ebp - 0x10], esi
call fcn.0040272e
push esi
call fcn.00401d2c
add esp, 4
mov dword [ebp - 0x14], 0xec54c898
jmp 0x402cdc
cmp eax, 0xa1772
jle 0x402f2a
cmp eax, 0xa1773
je 0x402ff4
cmp eax, 0x214f2d
je 0x403045
cmp eax, 0x256b7bc
jne 0x402cdc
mov eax, dword [ebp - 0x10]
shr eax, 2
imul eax, eax, 0xeb
add eax, 0xffffa9b6
mov dword [ebp - 0x10], eax
call fcn.00402581
mov dword [ebp - 0x14], 0x8ad35c08
jmp 0x402cdc
cmp eax, 0xa6000c44
je 0x40307c
cmp eax, 0xba681926
je 0x4030b4
cmp eax, 0xbd17c811
jne 0x402cdc
mov eax, dword [ebp - 0x18]
mov ecx, eax
shl ecx, 6
add ecx, eax
mov edx, ecx
imul edx, ecx
imul esi, edx, 0x3271
dec esi
shr ecx, 0x16
mov dword [ebp - 0x18], ecx
mov eax, 0x387b75ed
cmp esi, edx
je 0x403135
mov eax, 0xc98cd668
jmp 0x403135
cmp eax, 0x387b75ed
je 0x4030cc
cmp eax, 0x4ff346d1
je 0x4030e9
cmp eax, 0x6968a62a
jne 0x402cdc
mov cl, byte [ebp - 0x19]
mov eax, 0xd12351e5
cmp cl, 0xcc
je 0x403135
mov eax, 0xa1773
jmp 0x403135
cmp eax, 0xdcc70d6b
je 0x40300b
cmp eax, 0xe80a0890
jne 0x40313d
imul eax, dword [ebp - 0x10], 0xc5000000
add eax, 0x45000000
shr eax, 0xb
mov dword [ebp - 0x10], eax
push eax
call fcn.00401d2c
add esp, 4
call fcn.00402ca4
mov dword [ebp - 0x14], 0x8ad35c08
jmp 0x402cdc
cmp eax, 0xeb24930d
je 0x403111
cmp eax, 0xec54c898
jne 0x402cdc
mov ecx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x11
add eax, 0xffffff39
mov dword [ebp - 0x10], eax
mov eax, 0xa1773
cmp ecx, 0x2d60000
jae 0x403135
mov eax, 0xba681926
jmp 0x403135
mov eax, dword [ebp - 0x10]
mov ecx, 0xf6
add eax, ecx
shr eax, 0xb
imul eax, eax, 0x7b
add eax, 0xffffc9b5
jmp 0x402f90
mov eax, dword [ebp - 0x10]
add eax, 0x21
shr eax, 1
add eax, 0x57
shr eax, 7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x8ad35c08
jmp 0x402cdc
imul eax, dword [ebp - 0x10], 0xe3
add eax, 0x82
mov dword [ebp - 0x10], eax
push eax
call fcn.00402858
add esp, 4
mov dword [ebp - 0x14], 0xa1773
jmp 0x402cdc
push dword [ebp - 0x24]
call fcn.00401d2c
add esp, 4
push dword [ebp - 0x20]
call fcn.00401d2c
add esp, 4
mov dword [ebp - 0x14], 0xd5f11d68
jmp 0x402cdc
popal
jmp 0x402fe6
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
cmp eax, 0xcd03
je 0x403045
movzx eax, ax
cmp eax, 0xf0b
jne 0x40305d
imul eax, dword [ebp - 0x18], 0xfb
add eax, 0xffff5275
mov ecx, eax
imul ecx, eax
shl eax, 4
and eax, 0x3ffff0
imul edx, ecx, 0x2f05
dec edx
mov dword [ebp - 0x18], eax
mov eax, 0xa1773
cmp edx, ecx
je 0x403135
mov eax, 0xd12351e5
jmp 0x403135
mov eax, dword [ebp - 0x18]
and eax, 0xffffff80
shl eax, 0xb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xd12351e5
jmp 0x402cdc
mov eax, dword [ebp - 0x18]
lea eax, [eax*8 + 0x370]
shr eax, 0xa
add eax, 0xffffff8e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x8ad35c08
jmp 0x402cdc
mov eax, dword [ebp - 0x10]
shr eax, 5
and eax, 0x3fffff
imul esi, eax, 0x9c
mov dword [ebp - 0x10], esi
push esi
call fcn.00402858
add esp, 4
mov eax, 0x8ad35c08
cmp esi, 0xc7
jb 0x403135
mov eax, 0x315c2ad6
jmp 0x403135
mov eax, dword [ebp - 0x10]
shr eax, 0xa
and eax, 0xfffffff8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xa1773
jmp 0x402cdc
mov ecx, dword [ebp - 0x10]
shr ecx, 0xe
mov eax, 0xe80a0890
and ecx, 0x3f800
mov dword [ebp - 0x10], ecx
je 0x403135
mov eax, 0xeb24930d
jmp 0x403135
mov eax, dword [ebp - 0x18]
add eax, 0xa
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x234d
dec edx
shr eax, 0xa
mov dword [ebp - 0x18], eax
mov eax, 0xa6000c44
cmp ecx, edx
je 0x403135
mov eax, 0xd5f11d68
jmp 0x403135
mov esi, dword [ebp - 0x10]
mov eax, 0x207
add esi, eax
mov dword [ebp - 0x10], esi
call fcn.00402581
mov eax, 0x256b7bc
cmp esi, 0xa3
jge 0x403135
mov eax, 0x88f26804
mov dword [ebp - 0x14], eax
jmp 0x402cdc
cmp eax, 0xd5f11d68
jne 0x402cdc
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret