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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x8c
mov eax, dword [eax + 0x1560d8]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0xe130]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, ecx
mov esi, dword [esi*4 + 0x7079f380]
sar eax, 1
mov ebp, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
imul edx, ecx
imul ebp, dword [ebx + 0x156164]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0xa4]
add edx, dword [esp + 0xa0]
sar eax, 1
add ebp, eax
mov edi, dword [esi*4 + 0x7079f300]
lea esi, [ebx + 0x1f7d84]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edi
lea edi, [eax + eax]
mov eax, ecx
mov ecx, dword [ebx + 0xe070]
mov ebp, edi
add eax, eax
and eax, 0xe
sar ebp, cl
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x1f7d78]
add ecx, ebp
mov ebp, eax
mov dword [ebx + 0xe094], ecx
mov ecx, dword [ebx + 0xe074]
sar ebp, cl
mov dword [esp + 0x40], ecx
mov ecx, ebp
mov ebp, edi
add ecx, esi
mov dword [ebx + 0xe098], ecx
mov ecx, dword [ebx + 0xe0ac]
sar ebp, cl
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x1f7d7c]
add ecx, ebp
mov ebp, eax
mov dword [ebx + 0xe0d0], ecx
mov ecx, dword [ebx + 0xe0b0]
sar ebp, cl
mov dword [esp + 0x50], ecx
lea ecx, [esi + ebp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [ebx + 0xe0d4], ecx
mov ecx, dword [ebx + 0xe0e8]
sar edi, cl
add edi, dword [ebx + 0x1f7d80]
mov dword [esp + 0x44], ecx
mov dword [ebx + 0xe10c], edi
mov edi, dword [ebx + 0xe0ec]
mov ecx, edi
sar eax, cl
lea eax, [esi + eax + 0x20]
mov esi, dword [ebx + 0x156190]
mov dword [ebx + 0xe110], eax
mov eax, dword [ebx + 0x1f7d10]
lea ecx, [edx*4]
mov dword [esp + 0x48], edi
lea eax, [eax + ebp*4]
mov dword [ebx + 0xe1ec], eax
mov eax, dword [ebx + 0x156198]
add ebp, dword [ebx + 0x1f6f50]
add eax, ecx
add ecx, dword [ebx + 0x1561a0]
test esi, esi
mov dword [ebx + 0x10f748], ebp
mov dword [ebx + 0xe134], eax
mov dword [ebx + 0xe138], ecx
je 0x700e2160
mov ecx, dword [ecx]
mov dword [ebx + 0xe12c], ecx
mov ecx, edx
shl ecx, 7
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0xa0]
add edx, dword [ebx + 0x156188]
mov dword [eax], edx
mov eax, dword [ebx + 0xe134]
shl ecx, 3
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
mov dword [esp + 0x30], eax
lea eax, [ebx + 0x153a80]
mov esi, eax
mov dword [esp + 0x5c], eax
imul eax, dword [esp + 0x18], 0x5c
lea eax, [esi + eax + 0x20c8]
mov edx, dword [eax + 0x3c]
mov edi, dword [eax + 0x34]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x60], edi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x64], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea ebp, [edx*8]
mov edx, ebp
mov ebp, ecx
movzx ecx, byte [esp + 0x3c]
mov dword [esp + 0x18], edx
sar ebp, cl
movzx ecx, byte [esp + 0x40]
sar edx, cl
mov ecx, edx
mov edx, dword [esp + 0x38]
imul ecx, edx
mov dword [ebx + 0xe07c], edx
add ebp, ecx
movzx ecx, byte [esp + 0x4c]
add edi, ebp
mov ebp, dword [esp + 0x20]
mov dword [ebx + 0xe078], edi
mov edi, dword [esp + 0x18]
mov edx, ebp
sar edx, cl
movzx ecx, byte [esp + 0x50]
sar edi, cl
mov ecx, edi
imul ecx, eax
add edx, ecx
add esi, edx
mov edx, ebp
mov dword [ebx + 0xe0b4], esi
movzx ecx, byte [esp + 0x44]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
sar edx, cl
movzx ecx, byte [esp + 0x48]
mov dword [ebx + 0xe0b8], eax
mov dword [ebx + 0xe0f4], eax
sar edi, cl
mov ecx, edi
mov edi, dword [esp + 0x24]
imul ecx, eax
mov eax, esi
add eax, ebp
neg eax
lea eax, [eax*8 - 4]
mov dword [ebx + 0x10f338], eax
mov eax, dword [esp + 0xa0]
add edx, ecx
mov ecx, dword [ebx + 0x156160]
add edx, dword [esp + 0x34]
add eax, edi
neg eax
lea eax, [eax*8 - 4]
mov dword [ebx + 0xe0f0], edx
mov edx, dword [ebx + 0x156168]
mov dword [ebx + 0x10f330], eax
mov eax, ecx
sub eax, esi
lea eax, [eax*8 + 4]
mov dword [ebx + 0x10f33c], eax
mov eax, edx
sub eax, dword [esp + 0xa0]
lea eax, [eax*8 + 4]
mov dword [ebx + 0x10f334], eax
mov eax, edi
sub eax, 1
test dword [esp + 0xa0], eax
jne 0x700e2090
mov eax, ebp
sub eax, 1
test esi, eax
jne 0x700e2090
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
sub edx, dword [esp + 0xa0]
mov esi, dword [eax + 8]
mov eax, edi
sub ecx, edi
neg eax
mov ebp, dword [esp + 0x20]
shl eax, 6
mov dword [ebx + 0xe150], eax
mov eax, dword [esp + 0xa0]
shl ecx, 6
shl edx, 6
mov dword [ebx + 0xe154], ecx
mov ecx, dword [ebx + 0xe070]
mov dword [ebx + 0xe14c], edx
neg eax
shl eax, 6
mov dword [ebx + 0xe148], eax
xor eax, eax
test edi, edi
setne al
mov dword [ebx + 0xe140], eax
xor eax, eax
cmp dword [esp + 0xa0], esi
setg al
mov dword [ebx + 0xe144], eax
mov eax, dword [ebx + 0x15cb94]
sar ebp, cl
mov ecx, dword [ebx + 0xe074]
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x64], esi
mov esi, dword [eax + 0x3c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x60], edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
sar esi, cl
mov ecx, esi
imul ecx, edx
add ebp, ecx
add edi, ebp
mov dword [ebx + 0xa004], edi
mov dword [ebx + 0xa008], edx
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 0xe0ac]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edx, ebp
sar edx, cl
mov ecx, dword [ebx + 0xe0b0]
mov dword [ebx + 0xc028], eax
mov dword [ebx + 0xe048], eax
sar edi, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
imul ecx, eax
add edx, ecx
mov ecx, dword [ebx + 0xe0e8]
add esi, edx
mov edx, ebp
mov dword [ebx + 0xc024], esi
sar edx, cl
mov ecx, dword [ebx + 0xe0ec]
sar edi, cl
mov ecx, edi
imul ecx, eax
mov eax, dword [ebx + 0x16159c]
mov dword [ebx + 0xe1e0], eax
mov eax, dword [ebx + 0x161598]
add edx, ecx
add edx, dword [esp + 0x28]
cmp byte [ebx + 0x156e30], 0
mov dword [ebx + 0xe044], edx
mov dword [ebx + 0xe1e4], eax
je 0x700e20c0
mov ecx, dword [ebx + 0x15cabc]
test ecx, ecx
jne 0x700e1fec
cmp byte [ebx + 0x156e31], 0
jne 0x700e2150
mov eax, dword [ebx + 0x1561a4]
mov esi, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 8], esi
call fcn.701921a0
mov esi, dword [esp + 0x30]
mov byte [esi + 0x49], al
lea eax, [ebx + 0x8000]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.700dfc60
cmp byte [ebx + 0x156e30], 0
jne 0x700e20e0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov eax, esi
mov edi, esi
and eax, 0xfffffffc
and esi, 2
sub edx, ecx
sar edx, 1
imul eax, edx
mov edx, ebp
and edx, 0xfffffffc
imul ecx, dword [ebx + 0x15615c]
lea eax, [eax + edx*4]
mov edx, ebp
and edx, 2
add edx, edx
lea edx, [edx + esi*4]
mov esi, edi
add eax, edx
mov edx, ebp
and esi, 1
and edx, 1
lea edx, [edx + esi*2]
add eax, edx
sar ecx, 1
add eax, ecx
shl eax, 0x10
cdq
idiv dword [ebx + 0x156158]
mov dword [ebx + 0x1f5d90], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 0x49]
mov eax, dword [ebx + eax*4 + 0x1f6f30]
mov dword [ebx + 0x10f744], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x224
mov dword [esp + 4], 0x7079fc68
mov dword [esp], str.__mi_col___mi_width___1______mi_row___mi_height___1__
call fcn.6feeef40
mov ecx, dword [ebx + 0x156160]
mov edx, dword [ebx + 0x156168]
jmp 0x700e1e47
mov eax, dword [esp + 0x30]
mov byte [eax + 0x49], 0
mov eax, dword [ebx + 0x15cad8]
mov dword [ebx + 0x10f744], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x1f5d98]
test edx, edx
jle 0x700e200b
lea esi, [ebx + 0x156e30]
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.700dec30
test eax, eax
jne 0x700e200b
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.700dec30
test eax, eax
je 0x700e200b
mov eax, dword [ebx + 0x1f5d94]
shl eax, 0x10
cdq
idiv dword [ebx + 0x1f5d98]
jmp 0x700e2066
mov eax, dword [ebx + 0x1f6f2c]
jmp 0x700e1fb7
xor ecx, ecx
jmp 0x700e1cb5