Function at 0x46ac590a
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x7599d0bc], 0xffffffff
je 0x46ac5b18
xor eax, eax
cmp dword [0x7599d0bc], eax
setne al
leave
ret
push ebx
lea ecx, [ebp - 0xc]
call fcn.46ac5577
push 1
push 0x75971f58
push 0x80000002
lea ecx, [ebp - 0xc]
xor bl, bl
call fcn.46ac5586
test eax, eax
je 0x46ad78ed
movzx eax, bl
lea ecx, [ebp - 0xc]
mov dword [0x7599d0bc], eax
call fcn.46ac55af
pop ebx
jmp 0x46ac591f
mov edx, dword [esp + 0x98]
nop
mov ecx, dword [esp + 0x84]
mov ebx, dword [edx + edi]
mov edx, dword [esp + 0x88]
mov edx, dword [edx + edi]
add ebp, ecx
cmp dword [esp + 0x64], 0
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx + edi]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
je 0x46ad76cf
mov ebp, dword [esp + 0x64]
mov ebp, dword [ebp + eax*8]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x64]
mov eax, dword [ebp + eax*8 + 4]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [edi]
cmp ebx, eax
mov dword [esp + 0x14], eax
jg 0x46ad7b12
mov edi, dword [esp + 0x14]
lea eax, [ebp + ebx*4]
mov ebx, dword [esp + 0x78]
lea edi, [ebp + edi*4]
mov dword [esp + 0x2c], edi
mov edi, edx
sar edx, 0xe
and edx, 0xfffffffc
mov edx, dword [edx + ebx]
mov ebx, dword [esp + 0x24]
mov ebp, ecx
sar ecx, 0x10
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x68]
add ebx, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], ebx
add dword [esp + 0x20], edx
movzx ebx, byte [ecx + esi + 4]
mov dword [esp + 0x54], ebx
movzx ebx, byte [ecx + 1]
mov dword [esp + 0x18], ebx
movzx ebx, byte [ecx + 5]
mov dword [esp + 0x40], ebx
movzx ebx, byte [ecx + esi + 1]
movzx edx, byte [ecx]
mov dword [esp + 0x30], ebx
movzx ebx, byte [ecx + esi + 5]
mov dword [esp + 0x44], ebx
movzx ebx, byte [ecx + 2]
mov dword [esp + 0x10], ebx
movzx ebx, byte [ecx + 6]
mov dword [esp + 0x48], ebx
movzx ebx, byte [ecx + esi + 2]
mov dword [esp + 0x60], ebx
movzx ebx, byte [ecx + esi + 6]
mov dword [esp + 0x5c], ebx
movzx ebx, byte [ecx + 3]
mov dword [esp + 0x1c], edx
movzx edx, byte [ecx + 4]
mov dword [esp + 0x6c], ebx
movzx ebx, byte [ecx + 7]
mov dword [esp + 0x28], edx
movzx edx, byte [ecx + esi]
mov dword [esp + 0x3c], ebx
movzx ebx, byte [ecx + esi + 3]
movzx ecx, byte [ecx + esi + 7]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
and ebp, 0xffff
and edi, 0xffff
cmp eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x4c], ebx
jae 0x46ad79e2
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, edx
sub eax, ecx
imul eax, edi
add eax, 0x8000
sar eax, 0x10
add eax, ecx
mov ecx, dword [esp + 0x54]
sub ecx, esi
imul ecx, edi
mov ebx, dword [esp + 0x18]
add ecx, 0x8000
mov edx, dword [esp + 0x44]
sar ecx, 0x10
sub ecx, eax
add ecx, esi
mov esi, dword [esp + 0x40]
imul ecx, ebp
sub edx, esi
add ecx, 0x8000
imul edx, edi
sar ecx, 0x10
add ecx, eax
mov eax, dword [esp + 0x30]
sub eax, ebx
imul eax, edi
add eax, 0x8000
sar eax, 0x10
add eax, ebx
add edx, 0x8000
sar edx, 0x10
sub edx, eax
add edx, esi
mov esi, dword [esp + 0x10]
imul edx, ebp
mov ebx, dword [esp + 0x5c]
add edx, 0x8000
sar edx, 0x10
add edx, eax
mov eax, dword [esp + 0x60]
sub eax, esi
imul eax, edi
add eax, 0x8000
sar eax, 0x10
add eax, esi
mov esi, dword [esp + 0x48]
sub ebx, esi
imul ebx, edi
add ebx, 0x8000
sar ebx, 0x10
sub ebx, eax
add ebx, esi
mov esi, dword [esp + 0x6c]
imul ebx, ebp
add ebx, 0x8000
sar ebx, 0x10
add ebx, eax
mov eax, dword [esp + 0x4c]
sub eax, esi
imul eax, edi
mov ebp, dword [esp + 0x3c]
add eax, 0x8000
sar eax, 0x10
add eax, esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
sub esi, dword [esp + 0x3c]
imul esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
add esi, 0x8000
sar esi, 0x10
sub esi, eax
add esi, ebp
imul esi, dword [esp + 0x38]
add esi, 0x8000
add byte [eax], al
sar esi, 0x10
mov ebp, eax
add esi, ebp
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x78]
mov esi, eax
and esi, 0xffff
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
mov edi, esi
sar esi, 0xe
push cs
and esi, 0xfffffffc
mov esi, dword [esi + ebp]
mov ebp, dword [esp + 0x24]
sar eax, 0x10
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x68]
add ebp, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
add ebp, esi
movzx esi, byte [eax]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
movzx esi, byte [eax + 4]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x8c]
movzx ebp, byte [eax + esi]
mov dword [esp + 0x14], ebp
movzx ebp, byte [eax + esi + 4]
mov dword [esp + 0x54], ebp
movzx ebp, byte [eax + 1]
mov dword [esp + 0x18], ebp
movzx ebp, byte [eax + 5]
mov dword [esp + 0x40], ebp
movzx ebp, byte [eax + esi + 1]
mov dword [esp + 0x30], ebp
movzx ebp, byte [eax + esi + 5]
mov dword [esp + 0x44], ebp
movzx ebp, byte [eax + 2]
mov dword [esp + 0x10], ebp
movzx ebp, byte [eax + 6]
mov dword [esp + 0x48], ebp
movzx ebp, byte [eax + esi + 2]
mov dword [esp + 0x60], ebp
movzx ebp, byte [eax + esi + 6]
mov dword [esp + 0x5c], ebp
movzx ebp, byte [eax + 3]
mov dword [esp + 0x6c], ebp
movzx ebp, byte [eax + 7]
mov dword [esp + 0x3c], ebp
movzx ebp, byte [eax + esi + 3]
movzx eax, byte [eax + esi + 7]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov byte [eax], cl
mov cl, byte [esp + 0x94]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x2c]
mov byte [eax + 2], bl
add eax, 4
and edi, 0xffff
cmp eax, ecx
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x74], eax
jb 0x46ad77c0
mov ebx, dword [esp + 0x4c]
sub edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
imul edx, edi
add edx, 0x8000
sar edx, 0x10
add edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
sub ecx, edx
imul ecx, edi
add ecx, 0x8000
sar ecx, 0x10
add ecx, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
sub edx, ecx
imul edx, edi
add edx, 0x8000
sar edx, 0x10
add edx, ecx
mov ecx, dword [esp + 0x6c]
sub ebx, ecx
imul ebx, edi
add ebx, 0x8000
sar ebx, 0x10
add ebx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
sub ecx, dword [esp + 0x28]
imul ecx, edi
mov ebx, dword [esp + 0x14]
add ecx, 0x8000
sar ecx, 0x10
sub ecx, ebx
add ecx, dword [esp + 0x28]
mov bl, byte [esp + 0x14]
imul ecx, ebp
add ecx, 0x8000
sar ecx, 0x10
add cl, bl
mov ebx, dword [esp + 0x40]
mov byte [eax], cl
mov ecx, dword [esp + 0x44]
sub ecx, ebx
mov ebx, dword [esp + 0x2c]
imul ecx, edi
add ecx, 0x8000
sar ecx, 0x10
sub ecx, ebx
add ecx, dword [esp + 0x40]
mov bl, byte [esp + 0x2c]
imul ecx, ebp
add ecx, 0x8000
sar ecx, 0x10
add cl, bl
mov ebx, dword [esp + 0x5c]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x48]
sub ebx, ecx
imul ebx, edi
add ebx, 0x8000
sar ebx, 0x10
sub ebx, edx
add ebx, ecx
imul ebx, ebp
mov ecx, dword [esp + 0x10]
add ebx, 0x8000
sar ebx, 0x10
add bl, dl
mov edx, dword [esp + 0x3c]
mov byte [eax + 2], bl
mov ebx, dword [esp + 0x50]
sub ebx, edx
imul ebx, edi
add ebx, 0x8000
sar ebx, 0x10
sub ebx, ecx
mov edi, dword [esp + 0x80]
add ebx, edx
imul ebx, ebp
mov ebp, dword [esp + 0x34]
add ebx, 0x8000
sar ebx, 0x10
add bl, cl
mov byte [eax + 3], bl
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x9c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x80], edi
jle 0x46ad7678
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret