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

Disassembly:
push edi
push esi
sub esp, 0x7c
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov esi, 0x3bb3b6ef
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], ecx
mov eax, ecx
mov edx, dword [0x499888]
add edx, 0x5b30c09
mov dword [0x499888], edx
mov edx, esp
mov dword [edx + 4], 0x31e
mov dword [edx], 0x22dc
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], eax
call fcn.0042c7c0
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x34], eax
mov eax, dword [0x49c6b0]
add eax, 0xbe1eeb44
or eax, 0x6e915671
mov edx, dword [esp + 0x4c]
cmp edx, eax
jne 0x4035f9
mov eax, dword [0x499794]
or eax, 0xd512e95
mov dword [0x499794], eax
mov eax, esp
mov dword [eax + 4], 0xaf1
mov dword [eax], 0x35d5
call fcn.0042c7c0
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x30], eax
mov eax, dword [0x49ac38]
and eax, 0x42aab6b0
mov dword [0x49ac38], eax
mov eax, dword [0x48efa0]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov eax, dword [0x498e0c]
shl eax, 6
add eax, 0xbad25fa8
cmp eax, 0x10b8b8c8
je 0x403688
mov eax, dword [0x497bf8]
inc eax
mov dword [0x497bf8], eax
mov cx, word [0x490e04]
movsx edx, cx
shl edx, 1
xor edx, 0xb77f6ee3
or eax, edx
cmp eax, 0x16c30281
jle 0x403683
mov eax, dword [0x497510]
add eax, 0xcd149614
mov dword [0x497510], eax
jmp 0x403688
mov eax, 0xdc5dd76f
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], 0
mov dx, word [0x48fecc]
mov si, dx
dec esi
mov dx, si
mov word [0x48fecc], dx
movsx esi, dx
cmp eax, esi
jle 0x4036d5
mov eax, dword [0x49b038]
mov ecx, dword [0x498d4c]
imul eax, ecx
mov ecx, dword [0x49c72c]
imul ecx, eax
mov dword [0x49c72c], ecx
mov eax, dword [esp + 0x48]
mov byte [eax + 0x1c], 0
mov dword [0x49a318], 0x3bdaee57
mov dword [eax + 0x28], 0
mov ecx, dword [0x49b0b4]
and ecx, 0x2e6954ed
mov edx, dword [0x49a2b0]
xor edx, ecx
mov dword [0x49a2b0], edx
mov ecx, esp
mov dword [ecx + 4], 4
mov dword [ecx], 0x25
call fcn.0042c7c0
mov dword [esp + 0x6c], eax
mov eax, dword [0x499310]
inc eax
mov dword [0x499310], eax
add eax, 0xcbda2e93
cmp eax, 0x5ff2b924
je 0x403753
mov ax, word [0x48f314]
mov cx, ax
or ecx, 0x90f0
mov ax, cx
mov word [0x48f314], ax
mov eax, 0x9a737b18
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
add edx, 0x38
mov esi, esp
mov dword [esi + 4], ecx
mov dword [esi], edx
mov dword [esp + 0x44], eax
call fcn.004554d0
mov ecx, dword [0x49b2c4]
imul ecx, ecx, 0x600e84bc
mov dword [0x49b2c4], ecx
mov ecx, esp
mov dword [ecx + 4], 5
mov dword [ecx], 0x204c
mov dword [esp + 0x40], eax
call fcn.0042c7c0
mov dword [esp + 0x68], eax
mov eax, dword [0x495900]
shr eax, 1
mov ecx, dword [0x496dbc]
shr ecx, 1
lea eax, [eax + ecx - 0x40fde28]
mov di, word [0x49339c]
mov cx, di
and ecx, eax
mov di, cx
mov word [0x49339c], di
mov eax, dword [esp + 0x6c]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 4
call fcn.00450bc0
mov eax, dword [0x498e34]
shl eax, 5
or eax, 0xc20b84c1
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jle 0x40380a
mov eax, dword [0x495d48]
imul eax, eax, 0x21c26602
mov dword [0x495d48], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
add ecx, 0x4c
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.004554d0
mov ecx, dword [0x49936c]
or ecx, 0xc4112000
mov dword [0x49936c], ecx
mov ecx, dword [esp + 0x68]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 5
mov dword [esp + 0x3c], eax
call fcn.00450bc0
mov si, word [0x49206a]
mov ax, si
add eax, 0x3d6dff05
mov si, ax
mov word [0x49206a], si
mov eax, esp
mov dword [eax], 0
call fcn.00450da0
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x20], eax
mov eax, dword [0x49b7d0]
mov edi, eax
dec edi
mov dword [0x49b7d0], edi
mov edi, dword [0x498fd8]
xor edi, 0xffffffff
and edi, 0xa332bdce
cmp eax, edi
mov dword [esp + 0x38], edx
je 0x4038b9
mov ax, word [0x4906fe]
mov cx, ax
imul ecx, ecx, 0x6e7a9a5d
mov ax, cx
mov word [0x4906fe], ax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x20]
shr ecx, 9
mov dword [eax + 0x20], ecx
mov ecx, dword [0x498128]
mov edx, ecx
dec edx
mov dword [0x498128], edx
imul ecx, ecx, 0x9db01428
mov edx, dword [0x497060]
and ecx, edx
mov edx, dword [0x4978cc]
xor edx, ecx
mov dword [0x4978cc], edx
mov ecx, dword [eax + 0x20]
add ecx, 0x200
mov dword [eax + 0x24], ecx
mov ecx, dword [0x493f8c]
sar ecx, 9
imul ecx, ecx, 0x843e8eb2
cmp ecx, 0xff4c0e25
jle 0x403930
mov ax, word [0x48fafa]
mov cx, ax
imul ecx, ecx, 0x80ab8ee
mov ax, cx
mov word [0x48fafa], ax
mov eax, 0xb5c363ca
mov dword [esp + 0x64], 0
mov cx, word [0x491a80]
mov dx, cx
imul edx, edx, 0x652a842b
mov cx, dx
mov word [0x491a80], cx
mov edx, dword [0x493d88]
shl edx, 1
sub edx, 0xdaa49257
cmp eax, edx
jne 0x403978
mov dword [0x49b6e8], 0x17b438f0
mov dword [esp + 0x5c], 0
cmp dword [esp + 0x5c], 0x28
je 0x403a9b
mov eax, dword [0x49b01c]
xor eax, 0xde57e69f
mov dword [0x49b01c], eax
mov eax, dword [0x48ef70]
mov ecx, esp
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x4186f0
mov dword [ecx + 4], 0
mov dword [ecx], 0
call eax
sub esp, 0x18
mov dword [esp + 0x60], eax
mov eax, dword [0x49a8a8]
and eax, 0x4c8625c3
mov dword [0x49a8a8], eax
cmp dword [esp + 0x60], 0
je 0x403a81
mov ax, word [0x48f246]
mov cx, ax
inc ecx
mov ax, cx
mov word [0x48f246], ax
movsx ecx, ax
mov edx, 0x8149495c
sub edx, ecx
and edx, 0x69ff1609
mov dword [0x49a0b8], edx
mov ecx, dword [esp + 0x64]
inc ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [0x493874]
mov edx, ecx
inc edx
mov dword [0x493874], edx
add ecx, 0xc5c13ada
mov edx, dword [0x49aa70]
or ecx, edx
or ecx, 0x24373a25
mov dword [0x49aa70], ecx
mov ecx, dword [0x48ef80]
mov edx, dword [esp + 0x60]
mov esi, esp
mov dword [esi], edx
call ecx
sub esp, 4
mov ecx, dword [0x4983dc]
mov edx, ecx
dec edx
mov dword [0x4983dc], edx
mov edx, dword [0x499c78]
lea ecx, [ecx + edx - 0x72d7b1b3]
mov dword [0x499c78], ecx
mov dword [esp + 0x34], eax
mov dword [0x49c4a4], 0xe5050bb0
mov eax, dword [esp + 0x5c]
add eax, 1
mov dword [esp + 0x5c], eax
jmp 0x403980
mov eax, dword [0x4979d8]
or eax, 0xe3f2cf93
mov dword [0x4979d8], eax
cmp dword [esp + 0x64], 0
jle 0x403b12
mov eax, 0xec2418fb
mov ecx, dword [0x49535c]
xor ecx, 0x793b22e8
mov dword [0x49535c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
call fcn.00402f70
mov eax, dword [0x49a514]
inc eax
mov dword [0x49a514], eax
xor eax, 0x30e1ec33
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x403b0d
mov ax, word [0x490460]
mov cx, ax
imul ecx, ecx, 0xfffb46de
mov ax, cx
mov word [0x490460], ax
jmp 0x403b12
mov eax, 0xd7ff9eb8
mov ecx, dword [0x49710c]
imul ecx, ecx, 0x10300901
mov dword [0x49710c], ecx
mov ecx, dword [esp + 0x48]
add ecx, 0x38
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 4], 0x14
mov dword [esp + 0x2c], eax
call fcn.0040ee60
mov si, word [0x491e16]
mov ax, si
xor eax, 0x2c79
mov si, ax
mov word [0x491e16], si
mov eax, dword [esp + 0x48]
add eax, 0x4c
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0x14
call fcn.0040ee60
mov eax, dword [0x4941d8]
and eax, 0xff410e0c
mov dword [0x4941d8], eax
mov eax, dword [0x48efac]
mov ecx, esp
mov edx, dword [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, dword [0x49ac00]
shl eax, 9
mov ecx, dword [0x498b80]
add eax, ecx
mov ecx, dword [0x49c324]
imul ecx, eax
mov dword [0x49c324], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x30]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 0xaf1
call fcn.00450bc0
mov si, word [0x490660]
movsx eax, si
mov ecx, dword [0x49c0fc]
shl ecx, 5
add ecx, 0xf9006c71
and eax, ecx
mov dword [0x4970e4], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x34]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 0x31e
call fcn.00450bc0
mov si, word [0x48fa2e]
mov ax, si
dec eax
mov di, ax
mov word [0x48fa2e], di
movsx eax, si
mov ecx, dword [0x496a8c]
mov edx, ecx
inc edx
mov dword [0x496a8c], edx
sub eax, ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x403c8e
mov eax, 0x740b9eca
mov cx, word [0x491474]
movsx edx, cx
cmp eax, edx
jl 0x403c6b
mov eax, dword [0x497e2c]
or eax, 0xa2d231ab
mov ecx, dword [0x4940fc]
add ecx, eax
mov dword [0x4940fc], ecx
jmp 0x403c89
mov ax, word [0x4901bc]
movsx ecx, ax
add ecx, 0x32efb238
mov edx, dword [0x498634]
imul edx, ecx
mov dword [0x498634], edx
jmp 0x403cb0
mov ax, word [0x492118]
mov cx, ax
mov ax, word [0x492ad6]
mov dx, ax
lea ecx, [ecx + edx + 0x53e8ff9e]
mov ax, cx
mov word [0x492ad6], ax
mov dword [esp + 0x58], 0
mov eax, dword [0x4980b8]
add eax, 0x2c96a220
mov dword [0x4980b8], eax
mov eax, dword [esp + 0x48]
add eax, 0x80
mov ecx, eax
call fcn.00435160
test al, 1
jne 0x403e46
mov dword [0x49bff0], 0x652b45dd
call fcn.00449190
mov dword [esp + 0x54], eax
mov cx, word [0x491af2]
mov ax, cx
dec eax
mov dx, ax
mov word [0x491af2], dx
movsx eax, cx
or eax, 0x8cf001e6
mov dword [0x49b890], eax
mov eax, dword [esp + 0x48]
sub eax, 0xffffff80
mov ecx, eax
mov dword [esp + 0x28], eax
call fcn.004386a0
mov ecx, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x24], eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
div ecx
mov dword [esp + 0x54], edx
mov eax, dword [0x495ecc]
imul eax, eax, 0x3dd8f813
xor eax, 0x3ac4e276
mov dword [0x4982bc], eax
mov eax, dword [esp + 0x54]
mov edx, esp
mov dword [edx], eax
mov ecx, dword [esp + 0x28]
call fcn.00411e50
sub esp, 4
mov ecx, eax
call fcn.00425890
mov ecx, dword [esp + 0x78]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.004554d0
mov ecx, dword [0x497c7c]
add ecx, 0x80c64805
mov dword [0x497c7c], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
mov esi, esp
mov dword [esi], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, edx
mov dword [esp + 0x1c], eax
call fcn.00411e50
sub esp, 4
add eax, 0x14
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
call fcn.0041c440
sub esp, 4
mov di, word [0x492fe6]
movsx ecx, di
add ecx, 0xdd5951d8
mov edx, dword [0x497bd4]
xor edx, 0x6d6528f6
cmp ecx, edx
mov dword [esp + 0x18], eax
jl 0x403e17
mov eax, dword [0x497634]
mov ecx, eax
inc ecx
mov dword [0x497634], ecx
mov ecx, dword [0x4945ac]
sar ecx, 0xa
or eax, ecx
mov ecx, dword [0x49beb0]
xor ecx, eax
mov dword [0x49beb0], ecx
jmp 0x403e26
mov eax, dword [0x49494c]
add eax, 0x842eea6d
mov dword [0x49494c], eax
mov dword [esp + 0x58], 1
mov ax, word [0x491248]
mov cx, ax
or ecx, 0x1843
mov ax, cx
mov word [0x491248], ax
mov eax, dword [0x4959e8]
xor eax, 0x88426a6e
mov dword [0x4959e8], eax
mov eax, dword [esp + 0x58]
add esp, 0x7c
pop esi
pop edi
ret 8