Function at 0x10004f90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1e6c
call fcn.1001fad0
mov eax, dword [0x1003a180]
xor eax, esp
mov dword [esp + 0x1e68], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [0x1003ebc8]
push 0x206
push eax
mov word [esp + 0x1860], ax
lea eax, [esp + 0x1862]
push eax
mov dword [esp + 0x1c], ebx
call fcn.1001cf60
xor eax, eax
push 0x206
push eax
mov word [esp + 0x1a74], ax
lea eax, [esp + 0x1a76]
push eax
call fcn.1001cf60
add esp, 0x18
mov dword [esp + 0x20], 1
mov dword [esp + 0x830], 0
mov dword [esp + 0x834], 0
push 0
push 0
call fcn.10008640
mov dword [esp + 0x830], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x100051d8
lea esi, [ebx + 8]
mov dword [esp + 0xc], esi
cmp word [esi], ax
je 0x100051d8
mov ebx, dword [ebx]
cmp ebx, 6
je 0x100051d8
test ebx, ebx
jne 0x10005102
mov edx, dword [edi + 0x330c]
mov eax, dword [edx]
cmp eax, edx
je 0x10005081
mov ecx, dword [eax + 0x808]
cmp dword [ecx], 0
je 0x100050cb
mov eax, dword [eax]
cmp eax, edx
jne 0x10005070
lea esi, [edi + 0x330c]
mov edi, dword [esi]
mov dword [esp + 0x14], esi
mov eax, dword [edi]
cmp eax, edi
je 0x1000525d
jmp 0x100050a0
mov esi, dword [eax + 0x808]
mov ecx, dword [esi]
cmp ecx, 3
je 0x100051a3
cmp ecx, 2
je 0x100051a3
test ecx, ecx
jne 0x1000515a
inc dword [esp + 0x24]
jmp 0x10005168
mov edx, eax
sub edx, esi
nop
movzx ecx, word [esi]
lea esi, [esi + 2]
mov word [edx + esi + 6], cx
test cx, cx
jne 0x100050d0
mov edx, dword [esp + 0x10]
push 0x16a8
push edx
push dword [eax + 0x808]
call fcn.10012cb0
add esp, 0xc
mov ebx, 1
jmp 0x100051da
push ebx
push esi
mov ecx, edi
call fcn.10006350
mov esi, eax
test esi, esi
je 0x10005081
mov edx, dword [esp + 0x10]
push 0x16a8
push edx
push esi
call fcn.10012cb0
push 0x2d
push dword [esp + 0x1c]
call fcn.10012664
add esp, 0x14
test eax, eax
je 0x10005a3f
lea ecx, [eax + 2]
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx + 6], ax
test ax, ax
jne 0x10005140
mov ebx, 1
jmp 0x100051da
cmp ecx, 1
je 0x10005168
cmp ecx, 4
jne 0x10005168
inc dword [esp + 0x18]
mov edx, dword [esp + 0xc]
lea ecx, [esi + 8]
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x10005196
test si, si
je 0x10005192
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x10005196
add ecx, 4
add edx, 4
test si, si
jne 0x10005170
xor ecx, ecx
jmp 0x1000519b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x10005247
mov eax, dword [eax]
cmp eax, edi
jne 0x100050a0
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x100051b9
test ebx, ebx
je 0x100051cd
cmp dword [esp + 0x18], 1
jle 0x10005259
cmp ebx, 4
jne 0x10005259
push 0x1002e64c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ebx, ebx
mov eax, dword [esp + 0x830]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x830]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x830]
mov dword [esp + 0x834], 0
cmp edi, eax
je 0x10005225
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.10005a60
push edi
call fcn.100125a6
mov eax, dword [esp + 0x834]
add esp, 4
mov edi, esi
cmp esi, eax
jne 0x10005205
push eax
call fcn.100125a6
mov ecx, dword [esp + 0x1e78]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10011984
mov esp, ebp
pop ebp
ret 4
push 0x1002e62c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 1
jmp 0x100051da
mov esi, dword [esp + 0x14]
push 0x800
lea eax, [esp + 0x2c]
mov dword [esp + 0x82c], 0
push 0
push eax
mov dword [esp + 0x838], 0
call fcn.1001cf60
add esp, 0xc
test ebx, ebx
je 0x1000594f
cmp ebx, 1
je 0x1000594f
cmp ebx, 4
je 0x1000594f
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1858]
push eax
push 0
mov edx, 0x2d
call fcn.10001180
mov ebx, dword [esi]
add esp, 8
mov esi, dword [ebx]
cmp esi, ebx
je 0x10005510
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
mov edi, edi
mov ecx, dword [esi + 0x808]
mov eax, dword [ecx]
cmp edi, eax
jne 0x10005500
add ecx, 8
lea eax, [esp + 0x1858]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10005316
test dx, dx
je 0x10005312
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10005316
add eax, 4
add ecx, 4
test dx, dx
jne 0x100052f0
xor eax, eax
jmp 0x1000531b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10005506
mov edi, dword [esp + 0x10]
xor ecx, ecx
lea esp, [esp]
movzx eax, word [esp + ecx + 0x1858]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x1a5e], ax
test ax, ax
jne 0x10005330
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x1858]
push eax
push 0
mov edx, 0x2d
mov dword [esp + 0x20], 0
mov ecx, esi
call fcn.10001180
add esp, 8
test eax, eax
je 0x10005a3f
jmp 0x10005380
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jne 0x1000566d
push ebx
push ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
call fcn.10008640
push 0x16a8
mov dword [esp + 0x1854], eax
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
call fcn.100125f6
push 0x16a8
push ebx
push eax
mov dword [esp + 0x1858], eax
call fcn.1001cf60
push 0x16a8
push edi
push dword [esp + 0x1860]
call fcn.10012cb0
mov edx, dword [esp + 0x1864]
lea ecx, [esp + 0x1874]
add esp, 0x1c
add edx, 8
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10005400
lea edi, [esp + 0x1a60]
add edi, 0xfffffffe
jmp 0x10005420
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10005420
mov eax, dword [0x1002e674]
lea edx, [esp + 0x1858]
mov dword [edi], eax
mov esi, edx
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10005440
lea edi, [esp + 0x1a60]
sub edx, esi
add edi, 0xfffffffe
jmp 0x10005460
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10005460
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
lea esp, [esp]
movzx eax, word [esp + ecx + 0x1a60]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x1046], ax
test ax, ax
jne 0x10005480
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x1048]
push eax
mov esi, dword [edi + 0x810]
push dword [esi + 4]
push esi
call fcn.10008910
mov edx, eax
mov ecx, 0x1fa11b
mov eax, dword [edi + 0x814]
sub ecx, eax
cmp ecx, 1
jb 0x10005a49
lea ecx, [eax + 1]
mov dword [edi + 0x814], ecx
lea ecx, [esp + 0x1850]
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [edi + 0x810]
mov edi, dword [eax]
mov dword [esp + 0x1c], edi
call fcn.10007ef0
push dword [esp + 0x1850]
jmp 0x10005911
jl 0x100055b0
mov esi, dword [esi]
cmp esi, ebx
jne 0x100052d0
push 0x16a8
call fcn.100125f6
push 0x16a8
push 0
push eax
mov dword [esp + 0x838], eax
call fcn.1001cf60
mov edi, dword [esp + 0x20]
push 0x16a8
push edi
push dword [esp + 0x840]
call fcn.10012cb0
mov edx, dword [esp + 0x844]
lea ecx, [esp + 0x1874]
add esp, 0x1c
add edx, 8
jmp 0x10005560
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10005560
xor ecx, ecx
jmp 0x10005580
movzx eax, word [esp + ecx + 0x1858]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x10005580
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
mov esi, dword [ebx]
push dword [esi + 4]
push esi
call fcn.10008910
mov edx, eax
jmp 0x10005649
push 0x16a8
call fcn.100125f6
push 0x16a8
push 0
push eax
mov dword [esp + 0x838], eax
call fcn.1001cf60
mov edi, dword [esp + 0x20]
push 0x16a8
push edi
push dword [esp + 0x840]
call fcn.10012cb0
mov edx, dword [esp + 0x844]
lea ecx, [esp + 0x1874]
add esp, 0x1c
add edx, 8
jmp 0x10005600
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10005600
xor ecx, ecx
jmp 0x10005620
movzx eax, word [esp + ecx + 0x1858]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x10005620
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
push esi
call fcn.10008910
mov ebx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, 0x1fa11b
sub ecx, eax
cmp ecx, 1
jb 0x10005a49
inc eax
mov dword [ebx + 4], eax
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
jmp 0x10005327
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
mov eax, dword [edi]
cmp eax, edi
je 0x100056cd
lea esp, [esp]
mov ecx, dword [eax + 0x808]
lea edx, [esp + 0x1858]
add ecx, 8
mov si, word [ecx]
cmp si, word [edx]
jne 0x100056b6
test si, si
je 0x100056b2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100056b6
add ecx, 4
add edx, 4
test si, si
jne 0x10005690
xor ecx, ecx
jmp 0x100056bb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x100057fc
mov eax, dword [eax]
cmp eax, edi
jne 0x10005680
mov esi, dword [esp + 0xc]
test ebx, ebx
jne 0x1000591d
push ebx
push ebx
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x104c], ebx
call fcn.10008640
push 0x16a8
mov dword [esp + 0x1044], eax
mov dword [esp + 0x103c], ebx
mov dword [esp + 0x1040], ebx
call fcn.100125f6
push 0x16a8
push ebx
push eax
mov dword [esp + 0x1048], eax
call fcn.1001cf60
mov edx, dword [esp + 0x20]
push 0x16a8
push edx
push dword [esp + 0x1050]
call fcn.10012cb0
mov edx, dword [esp + 0x1054]
lea ecx, [esp + 0x1874]
add esp, 0x1c
add edx, 8
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10005746
xor eax, eax
push 0x206
push eax
mov word [esp + 0x1c70], ax
lea eax, [esp + 0x1c72]
push eax
call fcn.1001cf60
lea eax, [esp + 0x1c74]
mov edx, 0x2d
push eax
mov eax, dword [esp + 0x28]
mov ecx, esi
inc eax
push eax
call fcn.10001180
add esp, 0x14
test eax, eax
je 0x10005831
lea edi, [esp + 0x1a60]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x100057a3
mov eax, dword [0x1002e674]
lea edx, [esp + 0x1858]
mov dword [edi], eax
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100057c0
lea edi, [esp + 0x1a60]
sub edx, esi
add edi, 0xfffffffe
jmp 0x100057e0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100057e0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10005850
cmp dword [eax + 0x814], 0
mov ecx, eax
mov esi, dword [esp + 0xc]
mov ebx, 1
mov dword [esp + 0x1c], ecx
jbe 0x10005826
add eax, 0x810
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
jmp 0x100056cd
xor ecx, ecx
mov dword [esp + 0x20], ecx
jmp 0x100056cd
lea edx, [esp + 0x1a60]
mov ecx, esi
sub edx, esi
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x10005840
xor ecx, ecx
movzx eax, word [esp + ecx + 0x1a60]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x836], ax
test ax, ax
jne 0x10005852
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x838]
push eax
mov esi, dword [edi + 0x810]
push dword [esi + 4]
push esi
call fcn.10008910
mov edx, eax
mov ecx, 0x1fa11b
mov eax, dword [edi + 0x814]
sub ecx, eax
cmp ecx, 1
jb 0x10005a49
lea ecx, [eax + 1]
mov dword [edi + 0x814], ecx
xor ecx, ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov dword [eax], edx
mov eax, dword [edi + 0x810]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x1040]
mov dword [esp + 0x1c], edi
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x1040]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1040]
mov dword [esp + 0x1044], ecx
cmp edi, eax
je 0x10005910
jmp 0x100058f0
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.10005a60
push edi
call fcn.100125a6
mov eax, dword [esp + 0x1044]
add esp, 4
mov edi, esi
cmp esi, eax
jne 0x100058f0
push eax
call fcn.100125a6
mov esi, dword [esp + 0x10]
add esp, 4
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1858]
inc edi
mov edx, 0x2d
push eax
push edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10001180
add esp, 8
test eax, eax
je 0x10005a3f
mov edi, dword [esp + 0x10]
jmp 0x10005380
mov esi, dword [edi]
cmp esi, edi
je 0x10005984
mov edx, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi + 0x808]
mov eax, dword [ecx]
cmp ebx, eax
jl 0x10005a09
jne 0x1000597e
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
jle 0x10005a09
mov esi, dword [esi]
cmp esi, edi
jne 0x10005960
xor ebx, ebx
push 0x16a8
call fcn.100125f6
push 0x16a8
push 0
push eax
mov dword [esp + 0x838], eax
call fcn.1001cf60
push 0x16a8
push dword [esp + 0x24]
push dword [esp + 0x840]
call fcn.10012cb0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x44]
add esp, 0x1c
sub ecx, edx
jmp 0x100059d0
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x100059d0
lea eax, [esp + 0x28]
push eax
test ebx, ebx
je 0x10005a13
push dword [esi + 4]
push esi
call fcn.10008910
mov ebx, dword [esp + 0x14]
mov edx, eax
mov ecx, 0x1fa11b
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jae 0x10005a33
jmp 0x10005a49
mov ebx, 1
jmp 0x10005986
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx]
push dword [esi + 4]
push esi
call fcn.10008910
mov edx, eax
mov ecx, 0x1fa11b
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x10005a49
inc eax
mov dword [ebx + 4], eax
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov ebx, 1
jmp 0x100051da
push str.list_T__too_long
call fcn.100113cf
int3