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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x68]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6476e974
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
test eax, eax
je 0x6476e7e0
lea esi, [esi]
mov eax, 0x55
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x68]
mov dword [ebx + 8], ecx
mov edx, ecx
inc edx
cmp edx, eax
jae 0x6476e7d0
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x6476e988
mov dword [esp + 0xc], 2
lea edi, [esp + 0x3c]
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call edx
cmp eax, 2
jne 0x6476e7d0
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
movzx ecx, byte [edi]
shl ecx, 8
movzx edx, byte [edi + 1]
or edx, ecx
movzx edx, dx
mov dword [esp + 0x24], edx
lea edx, [esi + 2]
mov dword [ebx + 8], edx
xor esi, esi
jmp 0x6476e963
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x6476e9a4
mov dword [esp + 0xc], 4
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call ecx
cmp eax, 4
jne 0x6476e7d0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x3c]
movzx edi, byte [ecx]
shl edi, 0x18
movzx ebp, byte [ecx + 1]
shl ebp, 0x10
or edi, ebp
movzx ebp, byte [ecx + 3]
or edi, ebp
movzx ecx, byte [ecx + 2]
shl ecx, 8
or edi, ecx
lea ecx, [edx + 4]
mov dword [ebx + 8], ecx
add edx, 5
cmp eax, edx
jbe 0x6476e7d0
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x6476e9b8
mov dword [esp + 0xc], 2
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call edx
cmp eax, 2
jne 0x6476e7d0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
lea ebp, [esp + 0x3c]
movzx edx, byte [ebp]
shl edx, 8
movzx ebp, byte [ebp + 1]
or ebp, edx
movzx ebp, bp
lea edx, [ecx + 2]
mov dword [ebx + 8], edx
add ecx, 3
cmp ecx, eax
jae 0x6476e7d0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6476e9cc
mov dword [esp + 0xc], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
cmp eax, 2
jne 0x6476e7d0
mov edx, dword [ebx + 8]
lea eax, [esp + 0x3c]
movzx ecx, byte [eax]
shl ecx, 8
movzx eax, byte [eax + 1]
or eax, ecx
movzx eax, ax
add edx, 2
mov dword [ebx + 8], edx
cmp dword [esp + 0x70], edi
je 0x6476e9ea
inc esi
cmp esi, dword [esp + 0x24]
jg 0x6476e9e0
mov eax, dword [ebx + 4]
lea ecx, [edx + 3]
cmp ecx, eax
jae 0x6476e7d0
jmp 0x6476e844
mov eax, dword [ebx + 4]
cmp dword [esp + 0x68], eax
ja 0x6476e7d0
jmp 0x6476e7e3
mov edi, dword [esp + 0x68]
add edi, dword [ebx]
jne 0x6476e824
mov dword [esp + 0x24], 0
jmp 0x6476e837
mov ecx, dword [ebx]
add ecx, edx
jne 0x6476e87b
xor edi, edi
jmp 0x6476e899
mov ebp, dword [ebx]
add ebp, ecx
jne 0x6476e8e1
xor ebp, ebp
jmp 0x6476e8f1
mov eax, dword [ebx]
add eax, edx
jne 0x6476e936
xor eax, eax
jmp 0x6476e945
mov eax, 1
jmp 0x6476e7d5
inc ebp
mov edx, dword [esp + 0x78]
mov dword [edx], ebp
mov esi, dword [esp + 0x68]
add esi, eax
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x6476ec5a
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call edx
test eax, eax
jne 0x6476e7d0
mov dword [ebx + 8], esi
mov eax, dword [esp + 0x78]
mov esi, dword [eax]
cmp esi, 0
jl 0x6476ed31
je 0x6476ec77
cmp esi, 0xfffffff
jg 0x6476ed3b
shl esi, 3
mov dword [esp + 4], esi
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call dword [edx + 4]
mov dword [esp + 0x28], eax
test eax, eax
je 0x6476ed49
mov edi, eax
xor eax, eax
mov ecx, esi
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x28]
mov ecx, esi
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
test eax, eax
jle 0x6476ec81
mov esi, dword [ebx + 8]
lea eax, [esi + 1]
cmp eax, dword [ebx + 4]
jae 0x6476ed28
mov ecx, dword [esp + 0x28]
add ecx, 8
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x24], 0
mov edi, esi
nop
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6476eaff
mov dword [esp + 0xc], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], ebx
call eax
cmp eax, 2
je 0x6476ec68
mov word [ebp], 0
mov eax, 0x55
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 0x1c], eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
jmp 0x6476e7d5
mov ecx, dword [ebx]
add ecx, edi
je 0x6476ec18
xor eax, eax
movzx esi, byte [ecx]
shl esi, 8
movzx ecx, byte [ecx + 1]
or ecx, esi
lea esi, [edi + 2]
mov dword [ebx + 8], esi
mov word [ebp], cx
add edi, 4
test eax, eax
je 0x6476ec27
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call eax
test eax, eax
jne 0x6476eadb
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
add esi, 5
cmp esi, eax
jae 0x6476eadb
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6476ec4d
mov dword [esp + 0xc], 4
lea edx, [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], ebx
call eax
cmp eax, 4
jne 0x6476eadb
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x3c]
movzx esi, byte [ecx]
shl esi, 0x18
movzx edx, byte [ecx + 1]
shl edx, 0x10
or esi, edx
movzx edx, byte [ecx + 3]
or esi, edx
movzx ecx, byte [ecx + 2]
shl ecx, 8
or esi, ecx
lea ecx, [edi + 4]
mov dword [ebx + 8], ecx
add edi, 8
test eax, eax
je 0x6476ec42
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call eax
test eax, eax
jne 0x6476eadb
mov dword [ebx + 8], edi
mov eax, esi
and eax, 0xffffff
mov dword [ebp + 4], eax
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x24]
jle 0x6476ec81
mov ebp, dword [esp + 0x20]
add dword [esp + 0x20], 8
lea eax, [edi + 1]
cmp eax, dword [ebx + 4]
jae 0x6476ead5
jmp 0x6476eaac
lea esi, [edi + 2]
mov dword [ebx + 8], esi
mov word [ebp], 0
add edi, 4
mov eax, dword [ebx + 4]
cmp eax, edi
jb 0x6476eadb
jmp 0x6476eb4c
lea eax, [edi + 4]
mov dword [ebx + 8], eax
add edi, 8
xor esi, esi
cmp dword [ebx + 4], edi
jb 0x6476eadb
jmp 0x6476ebdd
mov ecx, dword [ebx]
add ecx, edi
je 0x6476ec37
xor eax, eax
jmp 0x6476eb8d
cmp esi, dword [ebx + 4]
ja 0x6476e7d0
jmp 0x6476ea23
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x3c]
jmp 0x6476eb0b
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0xc], 0x647674ec
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.647d43fc
mov edx, dword [esp + 0x78]
mov ebx, dword [edx]
cmp ebx, 0
jl 0x6476ed5a
je 0x6476ed45
cmp ebx, 0x1fffffff
jg 0x6476ed53
shl ebx, 2
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call dword [edx + 4]
mov edx, eax
test eax, eax
je 0x6476ed61
xor eax, eax
mov edi, edx
mov ecx, ebx
rep stosb byte es:[edi], al
mov edi, edx
mov ecx, ebx
rep stosb byte es:[edi], al
xor eax, eax
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x28]
cmp dword [ecx], 0
jle 0x6476ed0e
mov ecx, dword [esp + 0x6c]
add ecx, dword [ebx + eax*8 + 4]
mov dword [edx + eax*4], ecx
inc eax
mov ecx, dword [esp + 0x78]
cmp dword [ecx], eax
jg 0x6476ecfa
mov eax, dword [esp + 0x74]
mov dword [eax], edx
xor eax, eax
cmp dword [esp + 0x28], 0
je 0x6476e7d5
jmp 0x6476eae0
mov ebp, dword [esp + 0x28]
jmp 0x6476ead5
mov eax, 6
jmp 0x6476e7d5
mov eax, 0xa
jmp 0x6476e7d5
xor edx, edx
jmp 0x6476ed0e
mov eax, 0x40
jmp 0x6476e7d5
mov eax, 0xa
jmp 0x6476ed16
mov eax, 6
jmp 0x6476ed16
mov eax, 0x40
jmp 0x6476ed16