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

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x3c
mov ecx, dword [ecx]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
sub edx, ecx
mov esi, edx
sar esi, 2
imul esi, esi, 0x914c1bad
lea eax, [esi + esi]
add esi, 1
cmp eax, esi
cmovl eax, esi
mov esi, 4
cmp eax, esi
cmovl eax, esi
imul esi, eax, 0x94
mov eax, dword [ebx]
test ecx, ecx
je 0x47a140
mov dword [esp], ecx
mov ecx, ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
call dword [eax + 0x10]
sub esp, 0xc
test al, al
jne 0x479ec0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov dword [esp + 4], 4
mov dword [esp], esi
call dword [eax + 8]
mov ebx, dword [edi + 4]
mov edx, dword [edi]
sub esp, 8
mov dword [esp + 0x1c], eax
cmp ebx, edx
je 0x47a400
lea ecx, [ebx - 0x94]
lea eax, [edx + 8]
mov dword [esp + 0x20], esi
sub ecx, edx
mov dword [esp + 0x28], edi
shr ecx, 2
imul ecx, ecx, 0x114c1bad
and ecx, 0x3fffffff
mov ebp, ecx
imul ecx, ecx, 0x94
mov dword [esp + 0x24], ebp
lea ebx, [edx + ecx + 0x9c]
mov edx, dword [esp + 0x1c]
mov ebp, ebx
mov dword [esp + 0x18], edx
jmp 0x479e11
movzx ecx, byte [eax + 0x84]
mov edi, dword [esp + 0x18]
mov byte [edi + 0x8c], 0
test cl, cl
jne 0x479ed0
mov edi, dword [esp + 0x18]
mov ecx, dword [eax + 0x88]
add eax, 0x94
mov dword [edi + 0x90], ecx
add edi, 0x94
mov dword [esp + 0x18], edi
cmp eax, ebp
je 0x479fc0
mov ebx, dword [esp + 0x18]
lea ecx, [ebx + 8]
mov dword [ebx], ecx
mov ebx, dword [eax - 8]
cmp ebx, eax
je 0x479f88
mov esi, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi], ebx
mov dword [esi + 8], ecx
mov esi, dword [eax - 4]
mov edx, dword [esp + 0x18]
movzx ecx, byte [eax + 0x34]
mov dword [eax - 8], eax
mov dword [eax - 4], 0
mov dword [edx + 4], esi
mov byte [eax], 0
mov byte [edx + 0x3c], 0
test cl, cl
je 0x479dd0
lea ebx, [edx + 0x20]
lea ecx, [eax + 0x18]
mov dword [edx + 0x18], ebx
mov esi, dword [eax + 0x10]
cmp esi, ecx
je 0x47a288
mov ebx, dword [eax + 0x18]
mov dword [edx + 0x18], esi
mov dword [edx + 0x20], ebx
mov edi, dword [eax + 0x14]
mov ebx, dword [esp + 0x18]
movq xmm2, qword [eax + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x14], 0
mov dword [ebx + 0x1c], edi
mov byte [eax + 0x18], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [ebx + 0x38], ecx
mov byte [ebx + 0x3c], 1
movq qword [ebx + 0x30], xmm2
jmp 0x479dd0
mov eax, dword [edi]
add eax, esi
mov dword [edi + 8], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [edi + 0x48]
lea ecx, [eax + 0x40]
mov dword [edi + 0x40], ebx
mov esi, dword [eax + 0x38]
cmp esi, ecx
je 0x47a208
mov ebx, dword [eax + 0x40]
mov dword [edi + 0x40], esi
mov dword [edi + 0x48], ebx
mov edi, dword [eax + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], 0
mov dword [edx + 0x44], edi
lea ebx, [edx + 0x64]
mov ecx, dword [eax + 0x50]
mov byte [eax + 0x40], 0
mov dword [edx + 0x5c], ebx
mov esi, dword [eax + 0x54]
mov dword [edx + 0x58], ecx
lea ecx, [eax + 0x5c]
cmp esi, ecx
je 0x47a1c8
mov ebx, dword [eax + 0x5c]
mov dword [edx + 0x5c], esi
mov dword [edx + 0x64], ebx
mov edi, dword [eax + 0x58]
mov esi, dword [esp + 0x18]
mov dword [eax + 0x54], ecx
lea ecx, [eax + 0x74]
mov dword [eax + 0x58], 0
lea ebx, [esi + 0x7c]
mov dword [esi + 0x60], edi
mov byte [eax + 0x5c], 0
mov dword [esi + 0x74], ebx
mov esi, dword [eax + 0x6c]
cmp esi, ecx
je 0x47a248
mov edx, dword [esp + 0x18]
mov ebx, dword [eax + 0x74]
mov dword [edx + 0x74], esi
mov dword [edx + 0x7c], ebx
mov edi, dword [eax + 0x70]
mov ebx, dword [esp + 0x18]
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], 0
mov dword [ebx + 0x78], edi
mov byte [eax + 0x74], 0
mov byte [ebx + 0x8c], 1
jmp 0x479dea
mov esi, dword [eax - 4]
lea edx, [esi + 1]
cmp edx, 4
jae 0x47a170
test edx, edx
je 0x479e33
movzx ebx, byte [eax]
mov byte [ecx], bl
test dl, 2
je 0x479e30
movzx esi, word [eax + edx - 2]
mov word [ecx + edx - 2], si
mov esi, dword [eax - 4]
jmp 0x479e33
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add ebp, 1
imul ebp, ebp, 0x94
add eax, ebp
mov ebp, dword [edi]
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x47a04e
mov ebx, dword [edi + 4]
cmp ebp, ebx
je 0x47a411
cmp byte [ebp + 0x8c], 0
jne 0x47a070
cmp byte [ebp + 0x3c], 0
jne 0x47a0d9
mov edx, dword [ebp]
lea eax, [ebp + 8]
cmp edx, eax
je 0x47a123
mov eax, dword [ebp + 8]
mov dword [esp], edx
add ebp, 0x94
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
cmp ebx, ebp
jne 0x479ff0
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [edi + 0xc]
sub ebx, edx
mov eax, dword [ecx]
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0xc]
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [edi], eax
add eax, esi
mov dword [edi + 4], edx
mov dword [edi + 8], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x74]
lea eax, [ebp + 0x7c]
mov byte [ebp + 0x8c], 0
cmp edx, eax
je 0x47a093
mov eax, dword [ebp + 0x7c]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
mov edx, dword [ebp + 0x5c]
lea eax, [ebp + 0x64]
cmp edx, eax
je 0x47a0af
mov eax, dword [ebp + 0x64]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
mov edx, dword [ebp + 0x40]
lea eax, [ebp + 0x48]
cmp edx, eax
je 0x479ff9
mov eax, dword [ebp + 0x48]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
cmp byte [ebp + 0x3c], 0
je 0x47a003
mov eax, dword [ebp + 0x30]
mov byte [ebp + 0x3c], 0
test eax, eax
je 0x47a0f5
mov edx, dword [ebp + 0x38]
mov dword [esp], eax
sub edx, eax
mov dword [esp + 4], edx
call fcn.0054fb40
mov edx, dword [ebp + 0x18]
lea eax, [ebp + 0x20]
cmp edx, eax
je 0x47a003
mov eax, dword [ebp + 0x20]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
mov edx, dword [ebp]
lea eax, [ebp + 8]
cmp edx, eax
jne 0x47a011
add ebp, 0x94
cmp ebx, ebp
jne 0x479ff0
jmp 0x47a02d
mov dword [esp], esi
mov ecx, ebx
mov dword [esp + 4], 4
call dword [eax + 8]
movd xmm0, eax
sub esp, 8
add eax, esi
movdqa xmm1, xmm0
mov dword [edi + 8], eax
punpckldq xmm1, xmm0
movq qword [edi], xmm1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [eax]
mov edi, eax
mov dword [ecx], esi
mov esi, dword [eax + edx - 4]
mov dword [ecx + edx - 4], esi
mov ebx, dword [esp + 0x18]
lea esi, [ebx + 0xc]
and esi, 0xfffffffc
sub ecx, esi
lea ebx, [edx + ecx]
sub edi, ecx
and ebx, 0xfffffffc
cmp ebx, 4
jb 0x479e30
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x18]
and ebx, 0xfffffffc
xor ecx, ecx
mov eax, dword [edi + ecx]
mov dword [esi + ecx], eax
add ecx, 4
cmp ecx, ebx
jb 0x47a1a8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov esi, dword [eax - 4]
jmp 0x479e33
mov edi, dword [eax + 0x58]
lea esi, [edi + 1]
cmp esi, 4
jae 0x47a2c0
test esi, esi
je 0x479f2b
movzx edx, byte [ecx]
mov byte [ebx], dl
test esi, 2
je 0x479f28
movzx edi, word [ecx + esi - 2]
mov word [ebx + esi - 2], di
mov edi, dword [eax + 0x58]
jmp 0x479f2b
mov edi, dword [eax + 0x3c]
lea esi, [edi + 1]
cmp esi, 4
jae 0x47a360
test esi, esi
je 0x479ef0
movzx edx, byte [ecx]
mov byte [ebx], dl
test esi, 2
je 0x479eed
movzx edi, word [ecx + esi - 2]
mov word [ebx + esi - 2], di
mov edi, dword [eax + 0x3c]
jmp 0x479ef0
mov edi, dword [eax + 0x70]
lea esi, [edi + 1]
cmp esi, 4
jae 0x47a3b0
test esi, esi
je 0x479f64
movzx edx, byte [ecx]
mov byte [ebx], dl
test esi, 2
je 0x479f61
movzx edi, word [ecx + esi - 2]
mov word [ebx + esi - 2], di
mov edi, dword [eax + 0x70]
jmp 0x479f64
mov edi, dword [eax + 0x14]
lea esi, [edi + 1]
cmp esi, 4
jae 0x47a310
test esi, esi
je 0x479e77
movzx edx, byte [ecx]
mov byte [ebx], dl
test esi, 2
je 0x479e74
movzx edi, word [ecx + esi - 2]
mov word [ebx + esi - 2], di
mov edi, dword [eax + 0x14]
jmp 0x479e77
mov edi, dword [ecx]
mov dword [ebx], edi
mov edi, dword [ecx + esi - 4]
mov dword [ebx + esi - 4], edi
mov edx, dword [esp + 0x18]
lea edi, [edx + 0x68]
mov edx, ecx
and edi, 0xfffffffc
sub ebx, edi
add esi, ebx
sub edx, ebx
and esi, 0xfffffffc
cmp esi, 4
jb 0x479f28
mov dword [esp + 0x2c], eax
and esi, 0xfffffffc
xor ebx, ebx
mov eax, dword [edx + ebx]
mov dword [edi + ebx], eax
add ebx, 4
cmp ebx, esi
jb 0x47a2f3
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x58]
jmp 0x479f2b
mov edi, dword [ecx]
mov dword [ebx], edi
mov edi, dword [ecx + esi - 4]
mov dword [ebx + esi - 4], edi
mov edx, dword [esp + 0x18]
lea edi, [edx + 0x24]
mov edx, ecx
and edi, 0xfffffffc
sub ebx, edi
add esi, ebx
sub edx, ebx
and esi, 0xfffffffc
cmp esi, 4
jb 0x479e74
mov dword [esp + 0x2c], eax
and esi, 0xfffffffc
xor ebx, ebx
mov eax, dword [edx + ebx]
mov dword [edi + ebx], eax
add ebx, 4
cmp ebx, esi
jb 0x47a343
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x14]
jmp 0x479e77
mov edi, dword [ecx]
mov dword [ebx], edi
mov edi, dword [ecx + esi - 4]
mov dword [ebx + esi - 4], edi
mov edx, dword [esp + 0x18]
lea edi, [edx + 0x4c]
mov edx, ecx
and edi, 0xfffffffc
sub ebx, edi
add esi, ebx
sub edx, ebx
and esi, 0xfffffffc
cmp esi, 4
jb 0x479eed
mov dword [esp + 0x2c], eax
and esi, 0xfffffffc
xor ebx, ebx
mov eax, dword [edx + ebx]
mov dword [edi + ebx], eax
add ebx, 4
cmp ebx, esi
jb 0x47a393
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x3c]
jmp 0x479ef0
mov edi, dword [ecx]
mov dword [ebx], edi
mov edi, dword [ecx + esi - 4]
mov dword [ebx + esi - 4], edi
mov edx, dword [esp + 0x18]
lea edi, [edx + 0x80]
mov edx, ecx
and edi, 0xfffffffc
sub ebx, edi
add esi, ebx
sub edx, ebx
and esi, 0xfffffffc
cmp esi, 4
jb 0x479f61
mov dword [esp + 0x2c], eax
and esi, 0xfffffffc
xor ebx, ebx
mov eax, dword [edx + ebx]
mov dword [edi + ebx], eax
add ebx, 4
cmp ebx, esi
jb 0x47a3e6
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x70]
jmp 0x479f64
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x47a032
jmp 0x47a04e
mov edx, ebx
jmp 0x47a032