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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1011d004]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, edx
mov eax, ecx
push esi
push edi
mov dword [esp + 0x18], eax
mov ecx, dword [ebx]
mov esi, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
cmp ecx, 5
ja case.default.0x100470b4
jmp dword [ecx*4 + 0x10047320]
dec dword [eax + 0x38]
mov ecx, dword [eax + 0x38]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
mov dword [esp + 0x14], ecx
mov ecx, eax
push edi
call fcn.100488c0
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 1
jle 0x10047161
lea eax, [ebx + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [ecx - 1]
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10047115
push 0
push dword [esp + 0x18]
mov edx, 0x33
mov ecx, esi
push edi
call fcn.10029250
add esp, 0xc
jmp 0x10047144
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edi
mov edx, dword [edx]
call fcn.100488c0
add dword [esp + 0x14], 0x14
add esp, 4
sub dword [esp + 0xc], 1
jne 0x100470f5
mov edx, dword [esi + 0x74]
mov eax, dword [esi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x53], 0
je 0x10047179
mov eax, 0x1011f1ec
jmp 0x10047181
mov eax, dword [esi + 0x70]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x4e
jne 0x10047197
test edx, edx
jle 0x10047197
mov eax, dword [esi + 0x70]
mov edx, 1
mov word [eax + ecx - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100471b5
push edx
mov edx, esi
call fcn.10029c70
jmp 0x10047307
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret
push 0x34
lea eax, [esp + 0x20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
add esp, 0xc
mov byte [esp + 0x1c], 0x9c
mov dword [esp + 0x30], ebx
push dword [ebp + 0xc]
call fcn.10047340
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebx + 8]
push edi
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call fcn.100496c0
add esp, 8
push eax
mov edx, 0x46
mov ecx, esi
call fcn.100293c0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
push edi
push ecx
push 0xffffffffffffffff
push dword [ebx + 0x1c]
mov ecx, eax
call fcn.10049b80
add esp, 0xc
jmp 0x10047227
mov edx, dword [ebx + 0x1c]
cmp byte [edx], 0xa6
jne 0x10047287
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebx + 8]
call fcn.10049d70
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov eax, 0x46
push edi
push ecx
mov edx, eax
jmp 0x1004722d
mov edi, dword [ebp + 0xc]
mov eax, 0x49
xor ecx, ecx
mov edx, eax
push edi
push ecx
jmp 0x1004722d
mov ecx, dword [ebx + 8]
mov dword [esp + 0x50], str.blob
mov dword [esp + 0x54], str.text
mov dword [esp + 0x58], str.numeric
mov dword [esp + 0x5c], str.integer
mov dword [esp + 0x60], str.real
call fcn.100406e0
cmp al, 0x40
jg 0x100472df
mov edi, dword [ebp + 0xc]
mov eax, str.none
push eax
mov edx, edi
mov ecx, esi
call fcn.100294a0
jmp 0x10047307
mov edi, dword [ebp + 0xc]
mov ecx, esi
movsx eax, al
mov edx, edi
mov eax, dword [esp + eax*4 - 0xb4]
push eax
call fcn.100294a0
jmp 0x10047307
push dword [ebp + 0xc]
mov edx, dword [ebx + 8]
mov ecx, eax
call fcn.10047340
mov edi, eax
mov ecx, dword [esp + 0x68]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret