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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
lea esi, [eax + 8]
lea eax, [eax + 0x84]
push ebx
mov ebx, edx
sub esp, 0xac
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x9c], eax
cmp edi, 0x40
je 0x46f67d
lea edx, [edi + 1]
mov dword [esp], edx
call fcn.00a5b598
test eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
je 0x46f699
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00a5b5c0
mov ebx, dword [esp + 0xa4]
lea edx, [ebp + 0x4c]
mov byte [edi + ebx], 0
lea ecx, [ebp + 0x48]
lea eax, [ebp + 0x44]
lea edi, [ebp + 0x40]
lea ebx, [ebp + 0x3c]
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], ecx
lea edx, [ebp + 0x38]
lea ecx, [ebp + 0x34]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edi
lea eax, [ebp + 0x30]
lea edi, [ebp + 0x2c]
mov dword [esp + 0x64], ebx
lea ebx, [ebp + 0x28]
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], ecx
lea edx, [ebp + 0x24]
lea ecx, [ebp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
lea eax, [ebp + 0x1c]
lea edi, [ebp + 0x18]
mov dword [esp + 0x94], ebx
lea ebx, [ebp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], ebx
lea edx, [ebp + 0x10]
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x90]
lea edi, [ebp + 0x8c]
lea ebx, [ebp + 0x88]
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], ebx
jmp 0x46f581
mov edi, dword [esp + 0xa0]
mov dword [esp + 8], 0xf
mov dword [esp + 4], 0xc2264c
mov dword [esp], edi
call fcn.00a5b678
test eax, eax
jne 0x46f4fd
mov dword [ebp + 0x104], 1
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x9c]
lea edx, [esp + 0xa8]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xc2265c
mov dword [esp], eax
call fcn.00a5b698
cmp eax, 5
je 0x46f6a4
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], 0xa
mov dword [esp], ebx
call fcn.00a5b5b8
test eax, eax
je 0x46f71a
lea edi, [eax + 1]
mov dword [esp + 0xa0], edi
cmp byte [eax + 1], 0
je 0x46f71a
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xc22691
mov dword [esp], eax
call fcn.00a5b698
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0xc226a0
mov dword [esp], edi
call fcn.00a5b698
cmp eax, 0x10
jne 0x46f4d0
xor ebx, ebx
mov ecx, dword [esi + ebx*4]
mov dword [esp], ecx
call fcn.00478ab4
mov dword [esi + ebx*4], eax
add ebx, 1
cmp ebx, 0xf
jle 0x46f658
mov dword [ebp + 0xf4], 0
jmp 0x46f4d0
xor edx, edx
mov ecx, dword [ebx + edx*4]
bswap ecx
mov dword [esi + edx*4], ecx
add edx, 1
cmp edx, 0xf
jle 0x46f67f
mov dword [ebp + 0xf4], 0
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
xor edi, edi
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + ebx*4]
mov dword [esp], ecx
call fcn.00478bd4
mov ecx, 0xc
mov edx, eax
lea eax, [edi + ebx]
sub ecx, eax
mov eax, 1
shl eax, cl
test dword [esp + 0xa8], eax
je 0x46f6dc
or edx, 0x80000000
mov eax, dword [esp + 0x9c]
add edi, 3
mov dword [eax + ebx*4], edx
add ebx, 1
cmp ebx, 3
jle 0x46f6a8
mov ebx, dword [esp + 0xa0]
mov dword [ebp + 0x94], 1
mov dword [esp + 4], 0xa
mov dword [esp], ebx
call fcn.00a5b5b8
test eax, eax
jne 0x46f56d
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
call fcn.00a5b590
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret