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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
xor ebx, ebx
push edi
push ebx
mov eax, dword [esi]
mov ecx, eax
mov edi, dword [edx + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
call fcn.00481d30
mov edx, dword [ebp + 0x14]
add esp, 4
mov ecx, eax
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x4b1a78
mov ecx, dword [esp + 0x14]
push ebx
push ebx
call fcn.00481720
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4b1a7c
mov dword [esp + 0x18], ebx
test ecx, ecx
je 0x4b1a90
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x34], 0xffffffff
dec dword [eax + 0x20]
mov dword [ecx + 0x18], ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b1b57
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], ecx
cmp dx, word [eax + 0x32]
jae 0x4b1b46
jmp 0x4b1ab3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push 0
push 0x34
movsx eax, word [eax + ecx*2]
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
call fcn.0044ba80
mov edi, eax
add esp, 8
test edi, edi
je 0x4b1b1b
push 0x34
push 0
push edi
call fcn.0059d550
add esp, 0xc
mov byte [edi], 0x4b
or eax, 0xffffffff
mov edx, edi
mov word [edi + 0x22], ax
mov ecx, dword [esi]
push 0
push 0
call fcn.004810c0
mov eax, dword [esi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4b1b12
push eax
push str.SCopy
push esi
call fcn.0044ed00
add esp, 0xc
mov eax, dword [esp + 0xc]
inc eax
mov word [edi + 0x20], ax
push edi
mov edx, ebx
mov ecx, esi
call fcn.004822a0
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 8]
inc ecx
add esp, 4
mov dword [esp + 0x10], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
jl 0x4b1ab0
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x10], 0xf
jmp 0x4b1ca1
cmp dword [edi + 0xc], ebx
je 0x4b1bfc
xor eax, eax
xor ebx, ebx
cmp ax, word [edi + 0x2a]
jge 0x4b1beb
nop
mov ecx, dword [esi]
push 0
push 0x34
call fcn.0044ba80
mov edi, eax
add esp, 8
test edi, edi
je 0x4b1bcb
push 0x34
push 0
push edi
call fcn.0059d550
add esp, 0xc
mov byte [edi], 0x4b
or eax, 0xffffffff
mov edx, edi
mov word [edi + 0x22], ax
mov ecx, dword [esi]
push 0
push 0
call fcn.004810c0
mov eax, dword [esi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4b1bc4
push eax
push str.SCopy
push esi
call fcn.0044ed00
add esp, 0xc
lea eax, [ebx + 1]
mov word [edi + 0x20], ax
mov edx, dword [esp + 0xc]
mov ecx, esi
push edi
call fcn.004822a0
mov dword [esp + 0x10], eax
inc ebx
mov eax, dword [esp + 0x14]
add esp, 4
movsx eax, word [eax + 0x2a]
cmp ebx, eax
jl 0x4b1b70
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x10], 0xe
jmp 0x4b1ca1
mov eax, dword [edi + 0x38]
mov ecx, dword [esi]
neg eax
push 0
sbb eax, eax
add eax, 0xf
push 0x34
mov dword [esp + 0x18], eax
call fcn.0044ba80
mov edi, eax
add esp, 8
test edi, edi
je 0x4b1c5e
push 0x34
push 0
push edi
call fcn.0059d550
add esp, 0xc
mov byte [edi], 0x4b
or eax, 0xffffffff
mov edx, edi
mov word [edi + 0x22], ax
mov ecx, dword [esi]
push 0
push 0
call fcn.004810c0
mov eax, dword [esi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4b1c5e
push eax
push str.SCopy
push esi
call fcn.0044ed00
add esp, 0xc
mov eax, dword [esi]
mov ecx, eax
push 0
push 0x18
mov dword [esp + 0x14], eax
call fcn.0044ba80
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b1c90
mov dword [ebx], 0
xorps xmm0, xmm0
mov dword [ebx], 1
movups xmmword [ebx + 8], xmm0
mov dword [ebx + 4], edi
jmp 0x4b1ca1
test edi, edi
je 0x4b1c9f
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.00481520
xor ebx, ebx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b1cf4
cmp dword [eax], 0
mov dword [esp + 0xc], 0
jle 0x4b1cf4
lea edi, [eax + 4]
mov edx, dword [edi]
test edx, edx
je 0x4b1cd0
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.00481720
add esp, 8
jmp 0x4b1cd2
xor eax, eax
push eax
mov edx, ebx
mov ecx, esi
call fcn.004822a0
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x10]
add esp, 4
inc eax
add edi, 0x14
mov dword [esp + 0xc], eax
cmp eax, dword [ecx]
jl 0x4b1cb8
push 0
push 0x820000
push 0
push 0
push 0
push dword [esp + 0x2c]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x34]
call fcn.004a5620
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x24], cl
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test eax, eax
je 0x4b1d50
movzx ecx, word [eax + 0x32]
mov dword [esp + 0x2c], ecx
jmp 0x4b1d58
mov dword [esp + 0x2c], 0xffffffff
lea eax, [esp + 0x24]
mov edx, edi
push eax
mov ecx, esi
call fcn.004ad6e0
add esp, 4
test edi, edi
je 0x4b1d7d
mov ecx, dword [esp + 0x14]
mov edx, edi
push 1
call fcn.004a54e0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret