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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x4ec], 0
je 0x2842765
mov eax, 1
jmp 0x2842ead
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.02839770
test eax, eax
jne 0x284277f
xor eax, eax
jmp 0x2842ead
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x16b4], 0
je 0x28427d2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x4f0], 0
je 0x28427a8
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x169c], 5
jne 0x28427a8
jmp 0x28428f8
mov eax, dword [ebp + 0xc]
push eax
call fcn.0281db10
test eax, eax
je 0x28427d2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x4f0]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x504]
mov dword [ebp - 0x34], ecx
jmp 0x28428f8
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x169c], 0
jne 0x28427e5
xor eax, eax
jmp 0x2842ead
push 0
call fcn.02844150
push 0
push 0
push 3
push 0
xor eax, eax
cmp dword [0x28b9204], 2
sete al
lea eax, [eax*4 + 3]
push eax
push 0x80000000
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xa4]
push edx
call dword [0x2801174]
mov dword [ebp - 0x40], eax
push 1
call fcn.02844150
cmp dword [ebp - 0x40], 0xffffffff
jne 0x2842834
xor eax, eax
jmp 0x2842ead
mov eax, dword [ebp - 0x40]
push eax
call fcn.0283d2e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x284284b
jmp 0x2842e68
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ebp - 0x44], ax
movzx ecx, word [ebp - 0x44]
cmp ecx, 0x5a4d
jne 0x2842869
jmp 0x284287f
movzx edx, word [ebp - 0x44]
cmp edx, 0x4944
jne 0x284287a
jmp 0x284298c
jmp 0x2842e68
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x28428c6
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x78]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x34], ecx
jmp 0x28428f8
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x28428f8
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x88]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x2842903
jmp 0x2842e68
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1c]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0x284
jg 0x2842933
cmp dword [ebp - 0x68], 0x284
je 0x284294f
cmp dword [ebp - 0x68], 0x184
je 0x284293e
cmp dword [ebp - 0x68], 0x200
je 0x2842960
jmp 0x2842982
cmp dword [ebp - 0x68], 0x8664
je 0x2842971
jmp 0x2842982
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x2842987
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x28
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x2842987
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x2842987
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x2842987
jmp 0x2842e68
jmp 0x2842a11
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
xor edx, edx
mov ecx, 0x1c
div ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
lea eax, [eax + edx + 0x30]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], 0
jmp 0x28429de
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x38]
add eax, 0x1c
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x30]
jae 0x2842a11
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0xc], 5
jne 0x2842a0f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
xor edx, edx
mov ecx, 0xc
div ecx
mov dword [ebp - 0x3c], eax
jmp 0x2842a11
jmp 0x28429cc
cmp dword [ebp - 0x3c], 0
jne 0x2842a1c
jmp 0x2842e68
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x14
mov dword [ebp - 0x2c], edx
push 4
push 0x1000
mov eax, dword [ebp - 0x2c]
push eax
push 0
call dword [0x2801064]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x4ec], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x4ec], 0
je 0x2842e68
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x4ec]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x1c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x284
jg 0x2842a98
cmp dword [ebp - 0x6c], 0x284
je 0x2842c28
cmp dword [ebp - 0x6c], 0x184
je 0x2842aaa
cmp dword [ebp - 0x6c], 0x200
je 0x2842d17
jmp 0x2842e42
cmp dword [ebp - 0x6c], 0x8664
je 0x2842daf
jmp 0x2842e42
movzx ecx, word [ebp - 0x44]
cmp ecx, 0x4944
jne 0x2842b52
mov edx, dword [ebp - 4]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], 0
jmp 0x2842ad2
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jae 0x2842b4d
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov edx, dword [esi + edx]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov eax, dword [esi + eax + 4]
mov dword [edx + ecx + 4], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov ecx, dword [esi + ecx + 8]
mov dword [eax + edx + 8], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx + 0xc], 0
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], 0
jmp 0x2842ac9
jmp 0x2842c23
mov eax, dword [ebp - 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], 0
jmp 0x2842b6a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x2842c23
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 4]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 8], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 8]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax + 0xc]
sub eax, edx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], eax
jmp 0x2842b61
jmp 0x2842e42
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], 0
jmp 0x2842c40
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x2842d12
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 4]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 8]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0xc]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 4], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 0x20]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0x24]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 8], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 0x10]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0x14]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], esi
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx + eax + 0x18]
sub esi, dword [edx + 8]
mov eax, dword [ecx + eax + 0x1c]
sbb eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0x10], esi
jmp 0x2842c37
jmp 0x2842e42
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x14], 0
jmp 0x2842d2f
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jae 0x2842daa
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov eax, dword [esi + eax]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov ecx, dword [esi + ecx + 4]
mov dword [eax + edx + 4], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x60]
mov edx, dword [esi + edx + 8]
mov dword [ecx + eax + 8], edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + eax + 0xc], 0
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov dword [eax + edx + 0x10], 0
jmp 0x2842d26
jmp 0x2842e42
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], 0
jmp 0x2842dc7
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jae 0x2842e42
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov ecx, dword [esi + ecx]
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov edx, dword [esi + edx + 4]
mov dword [ecx + eax + 4], edx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov eax, dword [esi + eax + 8]
mov dword [edx + ecx + 8], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx + 0xc], 0
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x50]
mov dword [ecx + eax + 0x10], 0
jmp 0x2842dbe
lea edx, [ebp - 0x14]
push edx
push 2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x4ec]
push edx
call dword [0x2801060]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x4f8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x4f0]
push eax
call fcn.0282b850
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x4f0], 0
cmp dword [ebp - 0x18], 0
je 0x2842e94
mov edx, dword [ebp - 0x18]
push edx
call dword [fcn.0280104c]
cmp dword [ebp - 0x40], 0
je 0x2842ea4
mov eax, dword [ebp - 0x40]
push eax
call dword [fcn.02801180]
xor eax, eax
cmp dword [ebp - 0x3c], 0
setne al
pop esi
mov esp, ebp
pop ebp
ret 8