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

Disassembly:
sub esp, 0x468
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], edi
call fcn.0047ff60
lea ecx, [esp + 0x40]
call fcn.0047ff80
mov esi, dword [esp + 0x47c]
push 0
push 0
push esi
mov ecx, edi
call fcn.004b7130
push esi
push 0xe
lea eax, [esp + 0x70]
push 1
push eax
mov ecx, edi
call fcn.004b7170
push esi
push 1
lea ecx, [esp + 0x48]
push 0x28
push ecx
mov ecx, edi
call fcn.004b7170
mov eax, dword [esp + 0x44]
mov dx, word [esp + 0x48]
mov word [edi + 4], ax
mov word [edi + 6], dx
mov ebx, dword [0x67a8d8]
cmp ebx, 0x18
jl 0x4b7438
mov ebx, 0x18
mov byte [edi + 0xa], bl
and ebx, 0xff
and eax, 0xffff
mov edx, dword [esp + 0x4e]
imul eax, ebx
add eax, 0x1f
add ebx, 7
sar eax, 3
and eax, 0xfffc
mov word [edi + 8], ax
mov eax, edx
and eax, 0xffff
sar ebx, 3
lea ecx, [eax + 7]
sar ecx, 3
cmp dx, 8
mov dword [esp + 0x2c], ecx
ja 0x4b74e8
mov eax, dword [eax*4 + 0x67a8e4]
push esi
push eax
lea ecx, [esp + 0x80]
push 4
push ecx
mov ecx, edi
call fcn.004b7170
cmp ebx, 2
jne 0x4b74e8
mov edx, dword [esp + 0x4e]
and edx, 0xffff
mov eax, dword [edx*4 + 0x67a8e4]
test eax, eax
jbe 0x4b74e8
lea esi, [esp + 0x78]
mov ebp, eax
mov ecx, dword [esi]
mov eax, ecx
and ecx, 0xf8
shr eax, 2
and eax, 0x3f00
or eax, ecx
mov cl, byte [esi + 2]
and ecx, 0xf8
shr eax, 3
shl ecx, 8
or eax, ecx
mov dword [esi], eax
jne 0x4b74e2
mov dword [esi], 1
add esi, 4
dec ebp
jne 0x4b74b3
xor edx, edx
xor eax, eax
mov dx, word [edi + 8]
mov ax, word [edi + 6]
imul edx, eax
push edx
call fcn.00478e60
xor ecx, ecx
mov dword [edi + 0xc], eax
mov cx, word [edi + 6]
mov eax, dword [esp + 0x58]
xor edx, edx
add esp, 4
div ecx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jg 0x4b753b
mov eax, dword [esp + 0x4e]
xor edx, edx
mov dx, word [edi + 4]
and eax, 0xffff
imul eax, edx
add eax, 0x1f
sar eax, 3
and al, 0xfc
mov dword [esp + 0x20], eax
mov ebp, eax
push ebp
call fcn.00478e60
xor ecx, ecx
xor edx, edx
mov cx, word [edi + 6]
mov dx, word [edi + 8]
mov esi, eax
add esp, 4
lea eax, [ecx - 1]
mov dword [esp + 0x18], esi
imul eax, edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], 0
add eax, edx
test ecx, ecx
mov dword [esp + 0x24], eax
jle 0x4b7743
jmp 0x4b757f
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x47c]
push eax
push ebp
push 1
push esi
mov ecx, edi
call fcn.004b7170
xor ebp, ebp
cmp word [edi + 4], bp
jbe 0x4b7718
lea edx, [esi + 1]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x4e]
and ecx, 0xffff
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x4b75c7.5
xor ecx, ecx
mov cl, byte [eax + 0x4b7770]
jmp dword [ecx*4 + 0x4b775c]
mov edx, ebp
mov ecx, ebx
and edx, 0x80000007
jns 0x4b75df
dec edx
or edx, 0xfffffff8
inc edx
shl edx, 2
mov edi, 0x67a900
mov eax, ebp
sub edi, edx
cdq
and edx, 7
add eax, edx
mov edx, dword [edi]
sar eax, 3
mov edi, dword [esp + 0x14]
mov al, byte [eax + esi]
and dl, al
neg dl
sbb edx, edx
neg edx
lea esi, [esp + edx*4 + 0x78]
jmp 0x4b765f
mov ecx, ebp
mov dword [esp + 0x38], 0xf0
and ecx, 0x80000001
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], 0
jns 0x4b763a
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, ebp
cdq
sub eax, edx
xor edx, edx
shl ecx, 2
sar eax, 1
mov edi, dword [esp + ecx + 0x38]
mov ecx, dword [esp + ecx + 0x30]
mov dl, byte [eax + esi]
and edx, edi
mov edi, dword [esp + 0x14]
shr edx, cl
mov ecx, ebx
lea esi, [esp + edx*4 + 0x78]
mov eax, ecx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp case.0x4b75c7.5
xor eax, eax
mov ecx, ebx
mov al, byte [esi + ebp]
lea esi, [esp + eax*4 + 0x78]
jmp 0x4b76db
cmp ebx, 2
jne 0x4b76af
mov al, byte [edx + 1]
mov cl, byte [edx]
and eax, 0xf8
and ecx, 0xfc
shl eax, 5
or eax, ecx
xor ecx, ecx
mov cl, byte [edx - 1]
shl eax, 3
shr ecx, 3
jmp 0x4b76c3
cmp ebx, 3
jne 0x4b76cd
xor eax, eax
mov ah, byte [edx + 1]
mov al, byte [edx]
shl eax, 8
xor ecx, ecx
mov cl, byte [edx - 1]
or eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4b76d5
mov dword [esp + 0x10], 1
mov ecx, ebx
lea esi, [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, ebx
inc ebp
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
add edx, ecx
xor ecx, ecx
mov cx, word [edi + 4]
mov dword [esp + 0x10], edx
cmp ebp, ecx
jl 0x4b75a9
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
xor edx, edx
xor ecx, ecx
mov dx, word [edi + 8]
mov cx, word [edi + 6]
inc eax
sub ebp, edx
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
jl 0x4b7577
mov ebp, dword [esp + 0x20]
push ebp
push esi
call fcn.00478eb0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 4