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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov esi, 0xa3cffcff
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ecx
mov eax, ecx
mov edx, dword [0x49ac38]
shl edx, 3
and edx, 0xbd2c4c78
xor edx, 0xe8ea3d27
mov edi, dword [0x49f37c]
imul edi, edx
mov dword [0x49f37c], edi
mov edx, esp
mov dword [edx + 4], 0x31e
mov dword [edx], 0x68a9
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], eax
call fcn.0042bee0
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x34], eax
mov eax, dword [0x49a2b0]
or eax, 0x1804e08a
mov edx, dword [esp + 0x50]
cmp edx, eax
je 0x421113
mov ax, word [0x4a161c]
mov cx, ax
and ecx, 0xbb03
mov ax, cx
mov word [0x4a161c], ax
mov eax, 0x4f9aadaf
mov ecx, esp
mov dword [ecx + 4], 0xaf1
mov dword [ecx], 0x8404
mov dword [esp + 0x48], eax
call fcn.0042bee0
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x30], eax
mov eax, dword [0x49cf2c]
shl eax, 6
mov edx, dword [esp + 0x48]
cmp edx, eax
jg 0x42116b
mov eax, dword [0x49b8c0]
shr eax, 2
or eax, 0x8cfeb225
and eax, 0x9dffb6a5
mov ecx, dword [0x49c2e0]
sub ecx, eax
mov dword [0x49c2e0], ecx
mov eax, dword [0x498720]
mov ecx, esp
mov edx, dword [esp + 0x4c]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, dword [0x49b358]
imul eax, eax, 0x82096010
mov dword [0x49b358], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], 0
mov ecx, dword [0x49d584]
cmp ecx, 0x9e520301
jge 0x4211c6
mov ax, word [0x4a1478]
movsx ecx, ax
mov edx, dword [0x499248]
add edx, ecx
mov dword [0x499248], edx
jmp 0x4211d5
mov eax, dword [0x49bf2c]
xor eax, 0x67e138cd
mov dword [0x49bf2c], eax
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x1c], 0
mov cx, word [0x4a17d2]
movsx edx, cx
and edx, 0x39ba357d
or edx, 0x41eae7b2
cmp edx, 0xe9cd9fff
jne 0x42120e
mov eax, dword [0x49fcb8]
and eax, 0x47af19bd
mov dword [0x49fcb8], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x28], 0
mov ecx, dword [0x49cfac]
mov edx, ecx
dec edx
mov dword [0x49cfac], edx
mov edx, dword [0x49eac0]
imul edx, ecx
mov dword [0x49eac0], edx
mov ecx, esp
mov dword [ecx + 4], 4
mov dword [ecx], 0x1804
call fcn.0042bee0
mov dword [esp + 0x70], eax
mov eax, dword [0x4987e4]
shl eax, 4
add eax, 0xbc2306ac
mov ecx, dword [0x49a7d4]
and ecx, eax
mov dword [0x49a7d4], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x4c]
add ecx, 0x38
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00454af0
mov ecx, dword [0x4a0294]
inc ecx
mov dword [0x4a0294], ecx
cmp ecx, 0xe946f434
mov dword [esp + 0x44], eax
jne 0x4212bb
mov ax, word [0x4a2094]
mov cx, ax
add ecx, 0xd15e1bcb
mov ax, cx
mov word [0x4a2094], ax
jmp 0x4212ca
mov eax, dword [0x49a664]
and eax, 0x674effdb
mov dword [0x49a664], eax
mov eax, 0xd357ef0f
mov ecx, esp
mov dword [ecx + 4], 5
mov dword [ecx], 0x7386
mov dword [esp + 0x40], eax
call fcn.0042bee0
mov dword [esp + 0x6c], eax
mov dx, word [0x4a532c]
mov ax, dx
inc eax
mov dx, ax
mov word [0x4a532c], dx
movsx eax, dx
imul eax, eax, 0x1b76ba20
or eax, 0xb3fc8289
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jne 0x42134a
mov eax, dword [0x49c7d4]
mov cx, word [0x4a300e]
mov dx, cx
shl edx, 9
add edx, 0x5b2ac5d5
and eax, edx
mov cx, word [0x4a31c6]
mov dx, cx
xor edx, eax
mov cx, dx
mov word [0x4a31c6], cx
mov eax, 0x1a4435bc
mov ecx, dword [esp + 0x70]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 4
mov dword [esp + 0x3c], eax
call fcn.00443120
mov eax, dword [0x498870]
or eax, 0x78d40d97
mov dword [0x498870], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x4c]
add ecx, 0x4c
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00454af0
mov si, word [0x4a50e8]
movsx ecx, si
sar ecx, 7
or ecx, 0xb3169a60
mov edx, dword [0x49ce70]
and edx, ecx
mov dword [0x49ce70], edx
mov ecx, dword [esp + 0x6c]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 5
mov dword [esp + 0x38], eax
call fcn.00443120
mov si, word [0x4a42de]
mov ax, si
xor eax, 0x783b
mov si, ax
mov word [0x4a42de], si
mov eax, esp
mov dword [eax], 0
call fcn.004504f0
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x20], eax
mov eax, dword [0x49b448]
or eax, 0xeb5faa43
mov dword [0x49b448], eax
mov eax, dword [ecx + 0x20]
shr eax, 9
mov dword [ecx + 0x20], eax
mov si, word [0x4a480e]
mov ax, si
and eax, 0xdb3f
mov si, ax
mov word [0x4a480e], si
mov eax, dword [ecx + 0x20]
add eax, 0x200
mov dword [ecx + 0x24], eax
mov eax, dword [0x49dfc4]
shr eax, 6
mov si, word [0x4a2cd2]
mov di, si
xor eax, edi
xor eax, 0xef9e
mov si, ax
mov word [0x4a2cd2], si
mov dword [esp + 0x68], 0
mov eax, dword [0x499164]
imul eax, eax, 0x7dd91cbd
mov edi, dword [0x49b5e0]
xor edi, 0xffffffff
mov ebx, dword [esp + 0x3c]
sub ebx, edi
cmp eax, ebx
mov dword [esp + 0x34], edx
je 0x42148f
mov eax, dword [0x499620]
add eax, 0x324f78d
mov dword [0x499620], eax
mov eax, dword [0x499b74]
xor eax, 0xb29dacee
mov ecx, dword [0x49e150]
or ecx, eax
mov dword [0x49e150], ecx
mov dword [esp + 0x60], 0
cmp dword [esp + 0x60], 0x28
je 0x421620
mov eax, dword [0x49b8d0]
mov ecx, eax
dec ecx
mov dword [0x49b8d0], ecx
add eax, 0x16968882
mov ecx, dword [0x49b0f4]
and ecx, eax
mov dword [0x49b0f4], ecx
mov eax, dword [0x4986f0]
mov ecx, esp
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x425930
mov dword [ecx + 4], 0
mov dword [ecx], 0
call eax
sub esp, 0x18
mov dword [esp + 0x64], eax
mov eax, dword [0x49ed8c]
add eax, 0x4231a210
mov dword [0x49ed8c], eax
cmp dword [esp + 0x64], 0
je 0x42159e
mov ax, word [0x4a48f0]
mov cx, ax
and ecx, 0xb2b4
mov ax, cx
mov word [0x4a48f0], ax
mov ecx, dword [esp + 0x68]
inc ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [0x49a6d4]
and ecx, 0x655d3719
mov dword [0x49a6d4], ecx
mov ecx, dword [0x498700]
mov edx, dword [esp + 0x64]
mov esi, esp
mov dword [esi], edx
call ecx
sub esp, 4
mov di, word [0x4a18d6]
mov cx, di
inc ecx
mov bx, cx
mov word [0x4a18d6], bx
movsx ecx, di
mov edx, dword [0x49fcc0]
or edx, ecx
mov dword [0x49fcc0], edx
mov dword [esp + 0x30], eax
mov eax, dword [0x49e688]
shl eax, 7
mov ecx, dword [0x49cb10]
sub eax, ecx
xor eax, 0xb3e2c866
cmp eax, 0x8049902
jl 0x42160b
mov eax, 0x262c2a19
mov ecx, dword [0x498a2c]
cmp eax, ecx
jle 0x4215ee
mov ax, word [0x4a2e5c]
mov cx, ax
add ecx, 0x20502042
mov ax, cx
mov word [0x4a2e5c], ax
jmp 0x421606
mov eax, dword [0x49a178]
or eax, 0x1d18bce
mov ecx, dword [0x49ace4]
and ecx, eax
mov dword [0x49ace4], ecx
jmp 0x42160b
jmp 0x421610
mov eax, dword [esp + 0x60]
add eax, 1
mov dword [esp + 0x60], eax
jmp 0x4214af
mov eax, dword [0x4a02d8]
or eax, 0x9eaf92eb
mov dword [0x4a02d8], eax
cmp dword [esp + 0x68], 0
jle 0x421673
mov ax, word [0x4a501e]
mov cx, ax
imul ecx, ecx, 0x222b23a1
mov ax, cx
mov word [0x4a501e], ax
mov ecx, dword [esp + 0x4c]
call fcn.00426c80
mov ax, word [0x4a48a2]
mov cx, ax
imul ecx, ecx, 0xf6f76adf
mov ax, cx
mov word [0x4a48a2], ax
mov eax, 0xf8f1a89c
mov cx, word [0x4a3d62]
mov dx, cx
imul edx, edx, 0x5fc3008d
mov cx, dx
mov word [0x4a3d62], cx
mov edx, dword [esp + 0x4c]
add edx, 0x38
mov esi, esp
mov dword [esi], edx
mov dword [esi + 4], 0x14
mov dword [esp + 0x2c], eax
call fcn.00442fe0
mov cx, word [0x4a4cde]
movsx eax, cx
mov edx, dword [0x49c9d4]
and eax, edx
mov edx, dword [0x49f708]
sub edx, eax
mov dword [0x49f708], edx
mov eax, dword [esp + 0x4c]
add eax, 0x4c
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], 0x14
call fcn.00442fe0
mov cx, word [0x4a4d5a]
movsx eax, cx
mov edx, dword [esp + 0x2c]
cmp edx, eax
jle 0x421744
mov eax, dword [0x49f054]
mov ecx, dword [0x49fe54]
imul ecx, ecx, 0x2cac9f5b
and ecx, 0x7b04c2da
cmp eax, ecx
je 0x42173f
mov eax, 0x77b018cd
mov ecx, dword [0x49ae38]
xor ecx, 0xffffffff
and ecx, 0x8e5a233
cmp eax, ecx
jl 0x42173a
jmp 0x42173a
jmp 0x42173f
jmp 0x421744
mov eax, dword [0x49872c]
mov ecx, esp
mov edx, dword [esp + 0x4c]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, dword [0x49c36c]
mov ecx, eax
inc ecx
mov dword [0x49c36c], ecx
xor eax, 0x3d68bdad
mov dword [0x49e5c4], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x30]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 0xaf1
call fcn.00443120
mov eax, dword [0x49b970]
xor eax, 0x50fe9c6c
mov dword [0x49b970], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x34]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 0x31e
call fcn.00443120
mov eax, dword [0x49d2e4]
and eax, 0xfffdb7a8
mov dword [0x49d2e4], eax
mov dword [esp + 0x5c], 0
mov eax, dword [0x4a0068]
imul eax, eax, 0x8ed0f180
neg eax
mov ecx, dword [0x49f7d4]
lea eax, [ecx + eax + 0x3cb35343]
mov dword [0x49f7d4], eax
mov eax, dword [esp + 0x4c]
add eax, 0x80
mov ecx, eax
call fcn.00426f80
test al, 1
jne 0x421925
mov eax, dword [0x499f54]
xor eax, 0xf9c0ac3a
mov dword [0x499f54], eax
call fcn.00414460
mov dword [esp + 0x58], eax
mov dword [0x49e010], 0x4c705ba7
mov eax, dword [esp + 0x4c]
sub eax, 0xffffff80
mov ecx, eax
mov dword [esp + 0x28], eax
call fcn.0040fbf0
mov ecx, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x24], eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
div ecx
mov dword [esp + 0x58], edx
mov eax, dword [0x49c954]
imul eax, eax, 0xfff2ffff
mov dword [0x49c954], eax
mov eax, dword [esp + 0x58]
mov edx, esp
mov dword [edx], eax
mov ecx, dword [esp + 0x28]
call fcn.0040e590
sub esp, 4
mov ecx, eax
call fcn.00406340
mov ecx, dword [esp + 0x7c]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00454af0
mov ecx, dword [0x499764]
mov si, word [0x4a55fe]
mov dx, si
imul edx, ecx
mov si, dx
mov word [0x4a55fe], si
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x58]
mov edi, esp
mov dword [edi], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, edx
mov dword [esp + 0x1c], eax
call fcn.0040e590
sub esp, 4
add eax, 0x14
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
call fcn.0040c2f0
sub esp, 4
mov si, word [0x4a2d50]
movsx ecx, si
not ecx
mov edx, dword [0x498b3c]
and ecx, edx
dec edx
mov dword [0x498b3c], edx
and ecx, 0x6b814e03
mov edx, dword [0x49e7f0]
xor edx, ecx
mov dword [0x49e7f0], edx
mov dword [esp + 0x5c], 1
mov si, word [0x4a399c]
mov cx, si
xor ecx, 0xcfdf
mov si, cx
mov word [0x4a399c], si
mov dword [esp + 0x18], eax
mov eax, dword [0x49c6b0]
add eax, 0x3915265e
mov dword [0x49c6b0], eax
mov eax, dword [esp + 0x5c]
add esp, 0x80
pop esi
pop edi
pop ebx
ret 8