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

Disassembly:
sub esp, 0x2a8
mov eax, dword [0x100955e4]
xor eax, esp
mov dword [esp + 0x2a4], eax
push ebx
mov ebx, dword [esp + 0x2b0]
push ebp
push esi
push edi
mov eax, dword [ebx + 4]
xor esi, esi
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x44], eax
push 0x38
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
push esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], esi
lea eax, [eax + eax*2]
mov dword [esp + 0x28], edi
shl eax, 4
add eax, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x214]
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, byte [ebp + 0x10]
add esp, 0xc
lea ecx, [eax + eax*8]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
lea eax, [eax + ecx*8]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 0x34]
mov dword [esp + 0x40], eax
cmp edi, dword [esp + 0x18]
jae 0x1007a675
mov bx, word [esp + 0x20c]
mov edx, 0x200
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x10], ebx
jmp 0x1007a230
test eax, eax
jne 0x1007a677
test word [edi + 0xc], dx
je 0x1007a65e
mov edx, dword [edi + 0x1c]
mov ecx, dword [edx + 0x198]
mov eax, dword [edx + 0x19c]
and ecx, dword [ebp + 8]
and eax, dword [ebp + 0xc]
or ecx, eax
je 0x1007a66f
mov eax, dword [edx + 0xc]
lea edi, [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], 1
lea ecx, [eax + eax*2]
shl ecx, 4
lea eax, [esp + 0x244]
add ecx, dword [edx + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], 0
mov ebp, dword [edx + 0x14]
mov dword [esp + 0x38], ebp
cmp ebp, eax
jae 0x1007a5c6
lea esp, [esp]
mov ecx, 0x400
test word [ebp + 0xc], cx
je 0x1007a2c0
mov eax, dword [ebp + 0x1c]
jmp 0x1007a2f6
mov ecx, dword [esp + 0x40]
cmp dword [ebp + 0x14], ecx
jne 0x1007a5a7
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], ecx
mov byte [esp + 0x7c], 0x2c
mov dword [esp + 0x80], 1
mov dword [esp + 0x88], ebp
mov esi, dword [esp + 0x2c4]
mov edi, dword [esp + 0x2c0]
mov dword [esp + 0x5c], eax
xor eax, eax
mov word [esp + 0x244], ax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], 0
lea eax, [esp + 0x58]
je 0x1007a33e
push dword [esp + 0x2cc]
push dword [esp + 0x2cc]
push esi
push edi
push eax
call fcn.1007a690
add esp, 0x14
jmp 0x1007a349
push esi
push edi
push eax
call fcn.100793d0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1007a374
push dword [esp + 0x2cc]
lea eax, [esp + 0x5c]
push dword [esp + 0x2cc]
push esi
push edi
push eax
call fcn.1007a190
mov esi, eax
add esp, 0x14
mov dword [esp + 0x14], esi
mov si, word [esp + 0x244]
test si, si
je 0x1007a5b8
cmp dword [esp + 0x2c], 0
je 0x1007a3c0
movzx eax, si
shl eax, 4
push eax
lea eax, [esp + 0x250]
mov word [esp + 0x210], si
push eax
lea eax, [esp + 0x21c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x2c], 0
jmp 0x1007a597
movzx eax, bx
shl eax, 4
push eax
lea eax, [esp + 0x218]
mov word [esp + 0x280], bx
push eax
lea eax, [esp + 0x28c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx edx, word [esp + 0x288]
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x10], ebx
mov word [esp + 0x20c], bx
mov dword [esp + 0x34], edx
test edx, edx
je 0x1007a5a3
lea ecx, [esp + 0x28c]
movzx eax, si
mov dword [esp + 0x10], ecx
jmp 0x1007a420
mov dword [esp + 0x30], 0
test eax, eax
je 0x1007a57f
movzx ebp, word [ecx + 2]
lea esi, [esp + 0x254]
movzx eax, word [ecx]
mov edx, dword [ecx - 8]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
movsx edi, bp
movsx ebx, ax
mov dword [esp + 0x24], esi
lea ebx, [ebx]
movzx edx, word [esi + 2]
movsx eax, dx
cmp bp, dx
jl 0x1007a494
lea ecx, [eax + 0x31]
cmp edi, ecx
jle 0x1007a478
movzx esi, bp
jmp 0x1007a4ba
lea ecx, [eax + 0x1f]
cmp edi, ecx
jle 0x1007a484
lea eax, [ebp + 1]
jmp 0x1007a4b7
mov ecx, edi
sub ecx, eax
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x1007a4b7
lea ecx, [edi + 0x31]
cmp eax, ecx
jle 0x1007a49f
mov esi, edx
jmp 0x1007a4ba
lea ecx, [edi + 0x1f]
cmp eax, ecx
jle 0x1007a4ab
lea eax, [edx + 1]
jmp 0x1007a4b7
sub eax, edi
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx esi, ax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
movzx edx, word [eax]
movzx eax, word [ebp]
movsx ecx, dx
cmp ax, dx
jl 0x1007a507
lea eax, [ecx + 0x31]
cmp ebx, eax
jle 0x1007a4df
mov ecx, ebp
movzx eax, word [ecx]
jmp 0x1007a52d
lea eax, [ecx + 0x1f]
cmp ebx, eax
jle 0x1007a4f0
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx]
inc eax
jmp 0x1007a52a
mov edx, dword [esp + 0x10]
mov eax, ebx
sub eax, ecx
movzx ecx, word [edx]
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
jmp 0x1007a52a
lea eax, [ebx + 0x31]
cmp ecx, eax
jle 0x1007a512
mov eax, edx
jmp 0x1007a52d
lea eax, [ebx + 0x1f]
cmp ecx, eax
jle 0x1007a51e
lea eax, [edx + 1]
jmp 0x1007a52a
sub ecx, ebx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
push esi
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esi - 4]
or eax, dword [esp + 0x58]
mov ecx, dword [esi - 8]
or ecx, dword [esp + 0x54]
push eax
push ecx
lea eax, [esp + 0x21c]
push eax
call fcn.1007b5c0
mov ecx, dword [esp + 0x44]
add esi, 0x10
movzx eax, word [esp + 0x258]
inc ecx
mov ebp, dword [esp + 0x68]
add esp, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], esi
cmp ecx, eax
jl 0x1007a460
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
add ecx, 0x10
sub edx, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
jne 0x1007a420
mov ebp, dword [esp + 0x38]
mov bx, word [esp + 0x20c]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
add ebp, 0x30
mov dword [esp + 0x38], ebp
cmp ebp, eax
jb 0x1007a2b0
jmp 0x1007a5c6
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0x20c], bx
mov ebp, dword [esp + 0x28]
mov eax, 1
mov ecx, dword [esp + 0x20]
xor edi, edi
mov word [ebp + 0x28], ax
mov eax, dword [ebp + 0x30]
mov dword [eax], ecx
xor eax, eax
mov word [ebp + 0x12], ax
mov byte [ebp + 0x11], al
mov dword [ebp + 0x24], 0x2000
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1007a651
movzx ebp, bx
lea esi, [esp + 0x21e]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx]
cmp edi, ebp
jge 0x1007a645
movzx eax, word [esi - 2]
inc ax
mov word [ebx + 0x14], ax
movzx eax, word [esi]
mov word [ebx + 0x16], ax
mov eax, dword [esi - 0xa]
push ebx
push dword [esp + 0x40]
mov dword [ebx], eax
mov eax, dword [esi - 6]
mov dword [ebx + 4], eax
call fcn.1007b210
add esp, 8
inc edi
add esi, 0x10
test eax, eax
je 0x1007a610
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, 0x200
add edi, 0x30
mov dword [esp + 0x20], edi
cmp edi, ecx
jb 0x1007a230
jmp 0x1007a677
mov eax, dword [esp + 0x14]
jmp 0x1007a655
mov eax, esi
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100843e0
add esp, 0x2a8
ret