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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
mov ebx, ecx
mov dword [esp + 0x10], 0
push esi
mov esi, edx
mov dword [esp + 0x1c], ebx
xor edx, edx
mov ecx, dword [ebx]
push edi
mov edi, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], edi
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov word [esp + 0x4c], dx
cmp dword [ecx + 0xc8], edi
jle 0x10047554
mov al, byte [esi]
test al, al
je 0x100478ef
nop
mov edi, esi
inc esi
cmp al, 0xa
je 0x100474cd
mov al, byte [esi]
test al, al
jne 0x100474c2
mov ecx, dword [esp + 0x48]
add ecx, 3
cmp ecx, dword [esp + 0x40]
jb 0x100474ef
push 3
mov edx, 0x10133f78
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x10047507
mov ax, word [0x10133f78]
mov dword [esp + 0x48], ecx
mov word [ecx + edx - 3], ax
mov al, byte [0x10133f7a]
mov byte [ecx + edx - 1], al
mov eax, dword [esp + 0x48]
mov ecx, esi
sub ecx, edi
add eax, ecx
cmp eax, dword [esp + 0x40]
jb 0x10047528
push ecx
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x10047541
test ecx, ecx
je 0x10047541
mov dword [esp + 0x48], eax
sub eax, ecx
add eax, dword [esp + 0x3c]
push ecx
push edi
push eax
call fcn.10107690
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x10047894
mov edx, dword [esp + 0x3c]
jmp 0x100474c0
cmp word [ebx + 0x10], dx
jne 0x100475a3
test esi, esi
jne 0x10047574
xor ecx, ecx
mov edx, esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x10047894
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047580
sub ecx, edx
mov edx, esi
and ecx, 0x3fffffff
push ecx
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x10047894
cmp byte [esi], dl
je 0x100478ef
nop dword [eax + eax]
xor ebx, ebx
mov dword [esp + 0x30], edi
mov edi, esi
mov dword [esp + 0x2c], ebx
nop dword [eax]
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.100bcf90
cmp dword [esp + 0x28], 0x9c
je 0x100475e4
add edi, eax
add ebx, eax
cmp byte [edi], 0
jne 0x100475c0
mov edi, dword [esp + 0x2c]
jmp 0x100475e6
mov edi, eax
mov eax, dword [esp + 0x48]
add eax, ebx
cmp eax, dword [esp + 0x40]
jb 0x10047603
push ebx
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x1004761c
test ebx, ebx
je 0x1004761c
mov dword [esp + 0x48], eax
sub eax, ebx
add eax, dword [esp + 0x3c]
push ebx
push esi
push eax
call fcn.10107690
add esp, 0xc
add esi, ebx
test edi, edi
je 0x10047894
cmp byte [esi], 0x3f
jne 0x10047648
cmp edi, 1
jle 0x10047642
lea ecx, [esi + 1]
lea edx, [esp + 0x18]
call fcn.100217c0
mov eax, dword [esp + 0x18]
jmp 0x10047661
mov eax, dword [esp + 0x1c]
jmp 0x1004765d
mov ecx, dword [esp + 0x20]
mov edx, esi
push edi
mov ecx, dword [ecx + 0x80]
call fcn.10022110
add esp, 4
mov dword [esp + 0x18], eax
add esi, edi
lea ebx, [eax + eax*4]
lea edi, [eax + 1]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x20]
lea ebx, [ebx - 5]
cmp edi, dword [esp + 0x30]
cmovle edi, dword [esp + 0x30]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x1c], edi
lea ebx, [eax + ebx*8]
movzx eax, word [ebx + 0x10]
test al, 1
je 0x100476c9
mov ecx, dword [esp + 0x48]
add ecx, 4
cmp ecx, dword [esp + 0x40]
jb 0x100476b4
push 4
mov edx, str.NULL
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x1004788b
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov dword [ecx + eax - 4], 0x4c4c554e
jmp 0x1004788b
test al, 0x24
je 0x100476e9
push dword [ebx + 4]
lea eax, [esp + 0x3c]
push dword [ebx]
push 0x10132884
push eax
call fcn.1001fec0
add esp, 0x10
jmp 0x1004788b
test al, 8
je 0x10047710
movsd xmm0, qword [ebx]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.1001fec0
add esp, 0x10
jmp 0x1004788b
test al, 2
je 0x100477d4
mov ecx, dword [esp + 0x34]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x24], al
cmp al, 1
je 0x1004778e
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x70], xmm0
mov eax, dword [ebx + 0xc]
push 0
push dword [esp + 0x28]
cdq
push edx
mov edx, dword [ebx + 8]
push eax
call fcn.1003ea20
add esp, 0x10
test byte [esp + 0x60], 2
jne 0x10047767
mov byte [esp + 0x62], 1
jmp 0x1004778a
cmp byte [esp + 0x62], 1
je 0x1004778a
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.100203f0
cmp eax, 7
jne 0x1004778a
mov byte [esp + 0x4c], al
mov dword [esp + 0x40], 0
lea ebx, [esp + 0x50]
push dword [ebx + 8]
lea eax, [esp + 0x3c]
push dword [ebx + 0xc]
push str._.q
push eax
call fcn.1001fec0
add esp, 0x10
cmp byte [esp + 0x24], 1
je 0x1004788b
test dword [esp + 0x60], 0x9000
jne 0x100477c6
cmp dword [esp + 0x68], 0
je 0x1004788b
lea ecx, [esp + 0x50]
call fcn.1003e0f0
jmp 0x1004788b
test eax, 0x400
je 0x100477f4
push dword [ebx]
lea eax, [esp + 0x3c]
push str.zeroblob__d_
push eax
call fcn.1001fec0
add esp, 0xc
jmp 0x1004788b
mov ecx, dword [esp + 0x48]
add ecx, 2
cmp ecx, dword [esp + 0x40]
jb 0x10047816
push 2
mov edx, 0x10133f94
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x10047828
mov eax, dword [esp + 0x3c]
mov edx, 0x2778
mov dword [esp + 0x48], ecx
mov word [ecx + eax - 2], dx
mov eax, dword [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x30], eax
test eax, eax
jle 0x1004785a
mov esi, eax
mov eax, dword [ebx + 8]
movzx eax, byte [edi + eax]
push eax
lea eax, [esp + 0x3c]
push str._02x
push eax
call fcn.1001fec0
inc edi
add esp, 0xc
cmp edi, esi
jl 0x10047837
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, dword [esp + 0x40]
jb 0x1004787a
push 1
mov edx, 0x10133fa0
lea ecx, [esp + 0x3c]
call fcn.1001f800
add esp, 4
jmp 0x10047887
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov byte [ecx + eax - 1], 0x27
mov edi, dword [esp + 0x1c]
cmp byte [esi], 0
jne 0x100475b0
cmp byte [esp + 0x4c], 0
je 0x100478bd
test byte [esp + 0x4d], 4
je 0x100478b2
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.1001ce80
add esp, 8
xor edx, edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x100478ef
mov eax, dword [esp + 0x48]
mov byte [eax + edx], 0
cmp dword [esp + 0x44], 0
jbe 0x100478eb
test byte [esp + 0x4d], 4
jne 0x100478eb
lea ecx, [esp + 0x38]
call fcn.1001f8e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret