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

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0xb9c
mov eax, dword [eax + 0x156164]
lea edi, [esi + ecx*4]
mov dword [esp + 0x64], edi
mov edi, dword [edi + 0x1f74a4]
lea ebx, [esp + 0x58b]
mov dword [esp + 0x80], ebx
lea ebx, [esp + 0x279]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x15615c]
and dword [esp + 0x80], 0xfffffff0
mov dword [esp + 0x70], edi
lea edi, [esp + 0xe8]
mov dword [esp + 0x6c], edi
mov edi, dword [esi + 0xe080]
mov dword [esp + 0x84], ebx
and dword [esp + 0x6c], 0xfffffff0
and dword [esp + 0x84], 0xfffffff0
test eax, eax
mov dword [esp + 0xb4], edi
mov edi, dword [esi + 0xe0bc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], edi
mov edi, dword [esi + 0xe0f8]
mov dword [esp + 0xbc], edi
jle 0x7012e326
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea edi, [eax + 0xfffffff]
mov dword [esp + 0xac], edi
mov edi, dword [esp + 0x84]
lea eax, [eax*8 - 8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa8]
shl dword [esp + 0xac], 4
add edi, 0x200
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x80]
add edi, 0x400
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0xa4]
sub eax, 1
sub eax, edi
mov edx, edi
mov edi, dword [esp + 0x94]
neg edx
shl edx, 4
shl eax, 4
sub edx, 9
add eax, 9
test edi, edi
mov dword [esi + 0x10f338], edx
mov dword [esi + 0x10f33c], eax
jle 0x7012e2bf
mov eax, dword [esp + 0x84]
mov dword [esp + 0x98], 0xfffffff7
mov dword [esp + 0x90], 0
add eax, 0x280
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
add eax, 0x500
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], eax
lea eax, [esi + 0xe160]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
add eax, 0x100
mov dword [esp + 0x7c], eax
mov edi, dword [esp + 0x80]
xor eax, eax
mov ecx, 0x180
mov ebx, dword [esp + 0x58]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x84]
mov cl, 0xc0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x98]
mov dword [esi + 0x10f330], eax
mov eax, dword [esp + 0x90]
mov ebp, ecx
not eax
add eax, dword [esi + 0x156164]
shl eax, 4
add eax, 9
test ebx, ebx
mov dword [esi + 0x10f334], eax
jg 0x7012dce8
jmp 0x7012e137
cmp eax, 0x4e1f
jle 0x7012e368
add ebp, 1
cmp ebp, dword [esp + 0x58]
je 0x7012e137
mov ecx, dword [esi + ebp*4 + 0x1f74a4]
test ecx, ecx
je 0x7012dcdb
mov eax, dword [esi + 0xe134]
xor edi, edi
xor edx, edx
cmp ebp, dword [esp + 0x60]
mov eax, dword [eax]
mov word [eax + 0x58], di
mov eax, dword [esi + 0xe134]
mov eax, dword [eax]
mov word [eax + 0x5a], dx
je 0x7012e358
mov edx, dword [esi + ebp*4 + 0x1f74a4]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc8], 0
mov edi, dword [edx + 0x34]
mov eax, dword [edx + 0x10]
add edi, ebx
mov edx, edi
mov edi, dword [esp + 0x64]
mov ecx, dword [edi + 0x1f74a4]
mov edi, dword [ecx + 0x34]
mov ecx, dword [esi + 0xe1d8]
add edi, ebx
lea ebx, [esi + 0x8000]
mov dword [esp + 0x38], ebx
mov ebx, dword [esi + 0xa004]
mov dword [esi + 0xa004], edi
mov dword [esp + 0x3c], ebx
mov ebx, dword [esi + 0xa008]
mov dword [esi + 0xa008], eax
mov dword [esp + 0x40], ebx
mov ebx, dword [esi + 0xe080]
mov dword [esi + 0xe080], edx
mov dword [esp + 0x44], ebx
mov ebx, dword [esi + 0xe084]
mov dword [esi + 0xe084], eax
mov eax, dword [esi + 0x1f5da4]
mov dword [esp + 0x48], ebx
xor ebx, ebx
mov word [esp + 0xce], bx
xor ebx, ebx
cmp eax, 7
mov word [esp + 0xcc], bx
jle 0x7012e312
mov eax, dword [esi + 0x1f5e80]
add eax, 2
mov edx, dword [esi + 0xe134]
mov ebx, dword [esi + 0x1f5e7c]
mov edi, dword [edx]
lea edx, [esi + 0x1f7074]
mov dword [esp + 0xc], ecx
lea ecx, [ebx - 2]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
add edi, 0x58
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], edi
lea edi, [esp + 0xc8]
mov dword [esp + 8], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x1c], edi
mov dword [esp], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 4], eax
mov dword [esp + 0x50], edx
call fcn.700daa90
lea eax, [esp + 0xd4]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1f5de8]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe1d4]
mov dword [esp + 4], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x15614c]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
call dword [esi + 0x1f6f58]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esi + 0xa004], ebx
mov ebx, dword [esp + 0x40]
mov dword [esi + 0xe080], edi
cmp eax, 0x270f
mov dword [esi + 0xa008], ebx
mov ebx, dword [esp + 0x48]
mov dword [esi + 0xe084], ebx
jg 0x7012dcd0
mov dword [esp + 0x3c], 2
mov eax, dword [esi + 0xe134]
mov edi, dword [esp + 0x68]
mov edx, dword [eax]
movzx eax, word [edx + 0x5a]
movzx edx, word [edx + 0x58]
mov word [esp + 0x40], ax
mov eax, dword [esi + ebp*4 + 0x1f74a4]
add ebp, 1
mov ecx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x10]
add ecx, edi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x54]
add ecx, dword [eax + 0x34]
add edi, dword [eax + 0x38]
mov word [esp + 0xd4], dx
movzx edx, word [esp + 0x40]
mov eax, ecx
mov ecx, dword [esp + 0xbb4]
mov dword [esp + 4], ebx
add ebx, 1
mov dword [esp], eax
sar ebx, 1
mov word [esp + 0xd6], dx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x18], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], ecx
call fcn.7012f4e0
mov eax, dword [esp + 0xbb4]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 8
mov dword [esp + 0xc], 8
call fcn.7012f4e0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xbb4]
lea edi, [eax + 0x140]
mov dword [esp], ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 8
mov dword [esp + 8], edi
call fcn.7012f4e0
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0xbb0]
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, dword [ebx + 0x34]
mov dword [esp], eax
call dword [0x70ea7eac]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
mov ecx, ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xbb0]
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x24]
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x38]
add eax, ebx
mov dword [esp], eax
call dword [0x70ea7eac]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xbb0]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x24]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x3c]
add eax, ebx
mov dword [esp], eax
call dword [0x70ea7eac]
cmp ebp, dword [esp + 0x58]
jne 0x7012dce8
mov eax, dword [esi + 0x1f7458]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
add edi, dword [esi + 0x1f747c]
mov dword [esp + 0x38], eax
lea esi, [esi]
xor edx, edx
movzx ecx, word [ebx + edx*2]
mov eax, ecx
shr ax, 1
movzx eax, ax
add eax, dword [ebp + edx*4]
imul eax, dword [esi + ecx*4 + 0x1f7508]
shr eax, 0x13
mov byte [edi + edx], al
add edx, 1
cmp edx, 0x10
jne 0x7012e162
add ebp, 0x40
add ebx, 0x20
add edi, dword [esp + 0x38]
cmp ebx, dword [esp + 0x5c]
jne 0x7012e160
mov eax, dword [esi + 0x1f7480]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1f7484]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1f746c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
xor edx, edx
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
add edi, eax
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x4c]
add edi, eax
nop
movzx ebp, word [ebx]
add ecx, 4
add ebx, 2
mov eax, ebp
shr ax, 1
movzx eax, ax
add eax, dword [ecx - 4]
imul eax, dword [esi + ebp*4 + 0x1f7508]
mov ebp, dword [esp + 0x38]
shr eax, 0x13
mov byte [ebp + edx], al
movzx ebp, word [ebx + 0x7e]
mov eax, ebp
shr ax, 1
movzx eax, ax
add eax, dword [ecx + 0xfc]
imul eax, dword [esi + ebp*4 + 0x1f7508]
shr eax, 0x13
mov byte [edi + edx], al
add edx, 1
cmp edx, 8
jne 0x7012e1f0
mov eax, dword [esp + 0x50]
add dword [esp + 0x40], eax
add dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x78]
add dword [esp + 0x44], 0x20
cmp dword [esp + 0x3c], eax
jne 0x7012e1d1
add dword [esp + 0x90], 1
mov eax, dword [esp + 0x94]
add dword [esp + 0x54], 0x10
add dword [esp + 0x68], 8
sub dword [esp + 0x98], 0x10
cmp dword [esp + 0x90], eax
jne 0x7012dc7e
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xac]
lea eax, [eax + edi + 0x10]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
lea eax, [eax + edi + 8]
mov dword [esp + 0x9c], eax
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x94]
add dword [esp + 0xa4], 1
mov eax, dword [edi + 0x10]
sub eax, ebx
shl eax, 4
add dword [esp + 0xa0], eax
mov eax, dword [edi + 0x24]
mov edi, dword [esp + 0x9c]
sub eax, ebx
lea eax, [edi + eax*8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0xa4], eax
je 0x7012e326
mov eax, dword [esi + 0x15615c]
jmp 0x7012dbe1
cmp eax, 5
setg al
movzx eax, al
add eax, dword [esi + 0x1f5e80]
jmp 0x7012ddc4
mov eax, dword [esp + 0xb4]
mov dword [esi + 0xe080], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0xe0bc], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0xe0f8], eax
add esp, 0xb9c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0xd4]
mov dword [esp + 0x38], eax
jmp 0x7012decd
mov dword [esp + 0x3c], 1
jmp 0x7012ded5