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

Disassembly:
push 0xffffffffffffffff
push 0x29b28443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push ebp
mov ebp, dword [esp + 0x2c0]
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x2cc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x2c0], 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov ebx, eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x44], esi
call dword [eax]
cmp eax, 7
jne 0x29a6fa48
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x2c], eax
jmp 0x29a6fa50
mov dword [esp + 0x2c], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0x6c]
call fcn.29a9c8f0
push 0
push 0
push 0x29b470a0
push 0x29b46bcc
lea ecx, [esp + 0x7c]
push ecx
call fcn.29a9cf80
mov edx, dword [esi]
push 0x33
mov ecx, esi
call dword [edx + 8]
push eax
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [edx + 0x34]
lea ecx, [esp + 0x68]
call fcn.29a9c8f0
push 0
push 0
push 0x29b470a0
push 0x29b46bcc
lea eax, [esp + 0x78]
push eax
call fcn.29a9cf80
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x30], 0x29b415c4
je 0x29a6facf
mov dword [esp + 0x30], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x60], eax
call dword [edx + 0x1c]
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
jne 0x29a6fafe
mov dword [esp + 0x58], 0xffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call dword [edx + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [esp + 0x9c]
test eax, eax
jge 0x29a6fb3c
push 0x60
push 0x48
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x34], eax
call dword [edx + 0x2c]
mov edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x48], edx
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [edi]
add ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, edi
call dword [edx + 0x34]
mov ebx, dword [esp + 0x4c]
add ebx, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x4c], ebx
call dword [eax + 0x34]
add dword [esp + 0x54], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xec]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
add ebx, eax
cmp dword [esp + 0x50], ebx
jle 0x29a6fbb2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xec]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
add ebx, eax
mov dword [esp + 0x50], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
add ebx, eax
cmp dword [esp + 0x54], ebx
jle 0x29a6fbe6
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
add ebx, eax
mov dword [esp + 0x54], ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x70], eax
call dword [edx + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
dec eax
mov esi, 2
mov ecx, edi
je 0x29a6fc5d
dec eax
je 0x29a6fc3c
dec eax
mov eax, dword [edi]
jne 0x29a6fc5f
mov dword [esp + 0x20], esi
call dword [eax + 0xa4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x44]
mov dword [ebp + 0x854], 3
jmp 0x29a6fc80
mov eax, dword [edi]
mov dword [esp + 0x20], 1
call dword [eax + 0xa4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x44]
mov dword [ebp + 0x854], esi
jmp 0x29a6fc80
mov eax, dword [edi]
mov dword [esp + 0x20], 0
call dword [eax + 0xa4]
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x44]
mov dword [ebp + 0x854], 1
mov esi, dword [esp + 0xac]
cmp esi, 0x2bc
mov byte [esp + 0xfc], 0
jne 0x29a6fcb8
lea edi, [esp + 0xfc]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x29a6fca0
mov eax, dword [str.Bold]
mov cl, byte [0x29b41b54]
mov dword [edi], eax
mov byte [edi + 4], cl
cmp byte [esp + 0xb0], 1
jne 0x29a6fcf3
lea edi, [esp + 0xfc]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x29a6fcd0
mov edx, dword [str.Italic]
mov ax, word [0x29b41b4c]
mov cl, byte [0x29b41b4e]
mov dword [edi], edx
mov word [edi + 4], ax
mov byte [edi + 6], cl
cmp byte [esp + 0xb2], 1
jne 0x29a6fd17
lea edi, [esp + 0xfc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x29a6fd05
mov dx, word [0x29b41b44]
mov word [edi], dx
cmp byte [esp + 0xb1], 1
jne 0x29a6fd41
lea edi, [esp + 0xfc]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x29a6fd30
mov ax, word [0x29b41b40]
mov word [edi], ax
cmp word [esp + 0xb8], 0
mov ebx, dword [ebp + 0x848]
mov dword [ebp + 0x848], 1
je 0x29a6fdf4
mov dword [esp + 0x24], 0
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x2c4], 2
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [0x29b87b60]
mov edx, dword [ecx]
add esp, 4
push 0
push 0
mov esi, eax
call dword [edx + 0xc]
push eax
push 0
lea eax, [esp + 0xc8]
push eax
mov eax, esi
lea edi, [esp + 0x38]
call fcn.29a9eb30
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x29a6fdb5
mov eax, dword [0x29b871f4]
mov ecx, dword [esp + 0xac]
movzx edx, byte [esp + 0xb3]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ecx
lea edx, [esp + 0x10c]
push edx
push eax
mov ecx, ebp
call fcn.29a6a790
mov byte [esp + 0x2c0], 1
mov esi, dword [esp + 0x24]
test esi, esi
je 0x29a6fe42
call fcn.29a9e850
jmp 0x29a6fe42
mov ecx, dword [ebp + 0x198]
test ecx, ecx
jne 0x29a6fe04
mov ecx, dword [0x29b871f4]
lea edx, [esp + 0x1cc]
jmp 0x29a6fe10
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x29a6fe10
movzx eax, byte [esp + 0xb3]
mov ecx, dword [esp + 0x34]
push 0
push esi
push eax
push ecx
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x1e0]
push eax
mov ecx, ebp
call fcn.29a6a790
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x1c4]
mov edx, dword [ebp + 0x1a0]
mov dword [ebp + 0x848], ebx
movzx esi, word [eax + 0x1b0]
movzx eax, word [eax + 0x1b2]
cmp esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
jg 0x29a6fe94
mov ecx, dword [ebp + 0x170]
mov edx, dword [ecx]
push 1
push esi
call dword [edx + 8]
mov eax, dword [ebp + 0x170]
movzx ecx, word [eax + 0x1b2]
inc esi
cmp esi, ecx
jle 0x29a6fe74
mov eax, dword [ebp + 0x244]
mov edx, dword [eax + 8]
mov ecx, 1
cmp edx, ecx
jl 0x29a6fed5
mov edi, dword [ebp + 0x1c4]
mov eax, dword [eax + 0x18]
nop
mov esi, dword [eax]
cmp dword [esi + 0x178], edi
je 0x29a6fec4
inc ecx
add eax, 4
cmp ecx, edx
jle 0x29a6feb0
jmp 0x29a6fed5
mov ecx, ebp
call fcn.29a769d0
mov edx, dword [esi + 0x17c]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x2cc]
mov eax, dword [ecx]
call dword [eax + 0x198]
mov ecx, dword [ebp + 0x168]
mov edx, dword [ebp + 4]
mov ebx, dword [ebp + 0x170]
push 1
push ecx
mov ecx, eax
mov eax, dword [ebp + 0x1a0]
push edx
call fcn.29a76820
push 0x518
mov dword [esp + 0x7c], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
xor eax, eax
mov ecx, 0x146
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x500], eax
mov edx, dword [ecx]
add esp, 4
mov dword [esp + 0x38], esi
call dword [edx + 0x3c]
mov edi, eax
mov dword [esp + 0x18], 0
test edi, edi
mov byte [esp + 0x2c0], 3
je 0x29a6ff64
cmp word [edi], 0
je 0x29a6ff64
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ebx, eax
jmp 0x29a6ff66
xor ebx, ebx
mov ecx, dword [0x29b87b60]
mov eax, dword [ecx]
push 0
push 0
call dword [eax + 0xc]
push eax
push 0
push edi
mov eax, ebx
lea edi, [esp + 0x2c]
call fcn.29a9eb30
mov edi, dword [ebp + 0x1d4]
mov ecx, dword [esp + 0x18]
inc edi
test ecx, ecx
mov dword [ebp + 0x1d4], edi
mov eax, edi
jne 0x29a6ffa1
mov ecx, dword [0x29b871f4]
push eax
push ecx
push 0x29b46bc4
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x7c]
add esp, 0x10
test eax, eax
jne 0x29a70022
mov ebx, 0x29b415c4
xor edi, edi
mov ecx, dword [0x29b87b60]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0xc]
push eax
push 0
mov eax, edi
push ebx
lea edi, [esp + 0x2c]
call fcn.29a9eb30
mov eax, dword [esi + 0x108]
test eax, eax
je 0x29a70000
mov esi, eax
call fcn.29a9e850
mov eax, dword [esp + 0x38]
mov dword [eax + 0x108], 0
mov esi, eax
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ebx, ebx
cmp eax, ebx
je 0x29a70038
mov dword [esi + 0x108], eax
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
push ecx
call edi
jmp 0x29a7003e
cmp word [eax], 0
mov ebx, eax
je 0x29a6ffbf
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
jmp 0x29a6ffc1
mov dword [esi + 0x108], ebx
mov eax, dword [esi + 0x10c]
cmp eax, ebx
je 0x29a7005b
mov esi, eax
call fcn.29a9e850
mov edx, dword [esp + 0x38]
mov dword [edx + 0x10c], ebx
mov esi, edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x29a70075
mov dword [esi + 0x10c], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call edi
jmp 0x29a7007b
mov dword [esi + 0x10c], ebx
cmp word [esp + 0x164], bx
je 0x29a7009a
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
jmp 0x29a7009c
xor edi, edi
mov ecx, dword [0x29b87b60]
mov edx, dword [ecx]
push ebx
push ebx
call dword [edx + 0xc]
push eax
push ebx
lea eax, [esp + 0x174]
push eax
mov eax, edi
lea edi, [esp + 0x2c]
call fcn.29a9eb30
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x29a700cc
mov ecx, dword [0x29b871f4]
push 0x105
lea eax, [esi + 0x118]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp eax, ebx
jne 0x29a7013c
mov ebx, 0x29b415c4
xor edi, edi
mov ecx, dword [0x29b87b60]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0xc]
push eax
push 0
mov eax, edi
push ebx
lea edi, [esp + 0x2c]
call fcn.29a9eb30
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x29a7011d
mov ecx, dword [0x29b871f4]
test ecx, ecx
lea edi, [esi + 0x110]
je 0x29a70152
cmp byte [ecx], 0
je 0x29a70152
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x29a70131
sub eax, ebx
jmp 0x29a70154
cmp word [eax], 0
mov ebx, eax
je 0x29a700ef
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
jmp 0x29a700f1
xor eax, eax
mov edx, edi
call fcn.29a73e90
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov dword [esi + 0x114], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x220], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x228], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x224], edi
mov dword [esi + 0x22c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x238], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x23c], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], ecx
mov ecx, dword [esp + 0x2cc]
mov dword [esi + 0x240], edx
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
fdivr qword [0x29b59ae8]
sub ecx, edx
mov dword [esp + 0x14], ecx
lea ebx, [ebp + 0x85c]
fdivr qword [0x29b596d0]
fst qword [esp + 0x94]
fild dword [esp + 0x14]
fmul st(1)
call fcn.29b2608c
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
sub edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [ebx], eax
fmul st(1)
call fcn.29b2608c
fstp st(0)
mov dword [ebp + 0x860], eax
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x858], edi
xor edi, edi
cmp eax, edi
je 0x29a70756
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov byte [esp + 0x2c0], 8
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], edx
call fcn.29a9c8f0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x29a702a6
mov ecx, eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x29a702aa
mov dword [esp + 0x30], edi
cmp dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], edi
je 0x29a702f9
lea edx, [esp + 0x3c]
xor eax, eax
push edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
push eax
mov ebx, 0x29b470a0
lea eax, [esp + 0x34]
call fcn.29a9d2a0
test eax, eax
je 0x29a702f9
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
lea ebx, [esp + 0x14]
call fcn.29a9c9f0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x29a70725
cmp dword [esp + 0x34], 0x64
jge 0x29a706f5
test edi, edi
je 0x29a70320
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
jmp 0x29a70322
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jge 0x29a70383
mov ecx, 0x29b470a0
lea esi, [esp + 0x80]
lea eax, [esp + 0x10]
call fcn.29a9d1e0
lea ecx, [esp + 0x10]
cmp ecx, eax
je 0x29a7035c
mov eax, dword [eax]
call fcn.29a9c8f0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x29a70371
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x24], 0
jle 0x29a70691
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [eax - 1]
mov dword [esp + 0x14], edx
lea edx, [ecx + eax*4 + 0x348]
mov dword [esp + 0x3c], edx
lea ecx, [ecx]
mov edx, dword [esp + 0x84]
lea eax, [ebp + 0x85c]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x864]
mov esi, dword [eax]
sub esi, ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x29a703f6
mov ecx, 0x29b415c4
mov eax, dword [ebp + 0x164]
push 0
push 1
push eax
mov edi, ebp
call fcn.29a6ad80
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, 0x29b415c4
je 0x29a70419
mov ecx, eax
mov edx, dword [ebp + 0x164]
push 0
push 0
push edx
mov edi, ebp
call fcn.29a6ad80
add esi, 0x17
cmp ebx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], esi
lea ecx, [esp + 0x1c]
jg 0x29a7044c
mov eax, dword [esp + 0x10]
call fcn.29a9c8f0
jmp 0x29a705bd
mov eax, 0x29b415c4
call fcn.29a9c8f0
mov esi, dword [esp + 0x1c]
or ebx, 0xffffffff
jmp 0x29a70463
mov ebx, dword [esp + 0x7c]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov eax, esi
lea ecx, [esp + 0x58]
call fcn.29a9c8f0
mov eax, dword [esp + 0x10]
inc ebx
test eax, eax
mov dword [esp + 0x7c], ebx
je 0x29a70509
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x48]
push ecx
push ebx
mov ebx, 0x29b46be8
lea eax, [esp + 0x1c]
call fcn.29a9d2a0
test eax, eax
je 0x29a70509
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x44]
push edx
lea ebx, [esp + 0x60]
call fcn.29a9c9f0
test esi, esi
je 0x29a704e4
push esi
call edi
add esp, 4
test eax, eax
jle 0x29a704e4
push 0x29b46be8
call edi
add esp, 4
push 0x29b46be8
lea ecx, [esp + 0x20]
call fcn.29a9cbd0
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x29a704f1
mov edi, 0x29b415c4
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push edi
lea ecx, [esp + 0x20]
call fcn.29a9cbd0
mov esi, dword [esp + 0x1c]
test esi, esi
mov ecx, 0x29b415c4
je 0x29a70514
mov ecx, esi
mov eax, dword [ebp + 0x164]
push 0
push 1
push eax
mov edi, ebp
call fcn.29a6ad80
mov ebx, eax
cmp ebx, dword [esp + 0x74]
jle 0x29a7045f
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x1c]
call fcn.29a9c8f0
mov esi, dword [esp + 0x1c]
test esi, esi
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
je 0x29a70555
push esi
call edi
add esp, 4
jmp 0x29a70557
xor eax, eax
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp eax, dword [esp + 0x2c]
jge 0x29a7057f
push 0x29b46be8
call edi
add esp, 4
push 0x29b46be8
lea ecx, [esp + 0x20]
call fcn.29a9cbd0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x29a7058b
push esi
call edi
add esp, 4
jmp 0x29a7058d
xor eax, eax
mov esi, eax
lea eax, [esp + 0x64]
lea edi, [esp + 0x10]
call fcn.29a9ccf0
mov edx, edi
cmp edx, eax
je 0x29a705ab
mov eax, dword [eax]
mov ecx, edi
call fcn.29a9c8f0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x29a705bd
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x29a705d1
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
jmp 0x29a705d3
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x3c]
inc ecx
add eax, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x854]
inc ecx
dec eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
je 0x29a70634
dec eax
je 0x29a7061c
dec eax
jne 0x29a7064c
mov eax, dword [ebp + 0x85c]
sub eax, ebx
sub eax, 0x20
mov dword [ebp + 0x864], eax
jmp 0x29a7063e
mov eax, dword [ebp + 0x85c]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x1c
mov dword [ebp + 0x864], eax
jmp 0x29a7063e
mov dword [ebp + 0x864], 0xf
imul ecx, dword [esp + 0x40]
add ecx, 0xf
mov dword [ebp + 0x868], ecx
test esi, esi
mov eax, 0x29b415c4
je 0x29a70657
mov eax, esi
mov ecx, dword [ebp + 0x868]
mov edx, dword [ebp + 0x864]
push 0
push eax
push ecx
push edx
mov ecx, ebp
call fcn.29a6ed40
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov dword [edx + 0x4dc], eax
cmp ecx, dword [esp + 0x2c]
jl 0x29a703b0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
inc edx
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x60], edx
je 0x29a706df
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
mov ebx, 0x29b470a0
lea eax, [esp + 0x34]
call fcn.29a9d2a0
test eax, eax
je 0x29a706df
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
push edx
lea ebx, [esp + 0x14]
call fcn.29a9c9f0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x20], eax
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
jl 0x29a70305
mov eax, dword [esp + 0x58]
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
je 0x29a70709
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x29a70717
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x29a70725
push eax
call ebx
add esp, 4
test edi, edi
je 0x29a70733
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov byte [esp + 0x2c0], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x29a707eb
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x29a707eb
mov ecx, dword [ebp + 0x164]
push 0
push 1
push ecx
mov ecx, dword [esp + 0x3c]
mov edi, ebp
call fcn.29a6ad80
mov ecx, eax
mov eax, dword [ebp + 0x854]
dec eax
je 0x29a707ae
dec eax
je 0x29a70796
dec eax
jne 0x29a707bf
mov edx, dword [ebx]
sub edx, ecx
sub edx, 0x20
mov dword [ebp + 0x864], edx
mov dword [ebp + 0x868], 0xf
jmp 0x29a707bf
mov eax, dword [ebx]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x1c
mov dword [ebp + 0x868], 0xf
jmp 0x29a707b9
mov eax, 0xf
mov dword [ebp + 0x868], eax
mov dword [ebp + 0x864], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x868]
mov edx, dword [ebp + 0x864]
push 0
push eax
push ecx
push edx
mov ecx, ebp
call fcn.29a6ed40
mov dword [esi + 0x34c], eax
mov dword [esi + 0x4dc], 1
fild dword [esp + 0x4c]
sub esp, 8
mov eax, ebp
fstp qword [esp]
call fcn.29a696f0
sub esp, 0x10
fstp qword [esp + 8]
fild dword [esp + 0x60]
fstp qword [esp]
call fcn.29a69720
sub esp, 0x10
fstp qword [esp + 8]
fild dword [esp + 0x6c]
fstp qword [esp]
call fcn.29a696f0
sub esp, 0x10
fstp qword [esp + 8]
fild dword [esp + 0x68]
fstp qword [esp]
call fcn.29a69720
sub esp, 8
fstp qword [esp]
lea eax, [esi + 0x244]
push str._.2f__.2f__.2f__.2f
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
fild dword [esp + 0x78]
add esp, 0x20
mov eax, ebp
fstp qword [esp]
call fcn.29a69720
fild dword [esp + 0x48]
sub esp, 8
fstp qword [esp]
call fcn.29a69720
fsubp st(1)
sub esp, 8
fstp qword [esi + 0x4e0]
fild dword [esp + 0x5c]
fstp qword [esp]
call fcn.29a69720
fild dword [esp + 0x4c]
sub esp, 8
fstp qword [esp]
call fcn.29a69720
fsubp st(1)
fstp qword [esi + 0x4e8]
fild dword [esp + 0x48]
fmul qword [esp + 0x94]
call fcn.29b2608c
mov dword [esi + 0x504], eax
fild dword [esp + 0x4c]
fmul qword [esp + 0x94]
call fcn.29b2608c
mov dword [esi + 0x508], eax
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
fild dword [esp + 0x64]
fstp qword [esi + 0x4f0]
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
fild dword [esp + 0x64]
fstp qword [esi + 0x4f8]
mov eax, dword [esi + 0x220]
test eax, eax
je 0x29a70915
jle 0x29a70904
cmp eax, 3
jle 0x29a70915
mov byte [esi + 0x118], 0
mov dword [esi + 0x220], 0
mov ebx, dword [ebp + 0x264]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jne 0x29a70929
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov ecx, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x18]
imul edi, ecx
mov edx, dword [esp + 0x78]
add edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc dword [ebx + 8]
mov ecx, dword [ebp + 4]
call fcn.29a77720
mov ecx, dword [ebp + 0x170]
mov esi, dword [ecx + 0x180]
mov edi, dword [ebp + 4]
call fcn.29a775c0
mov ebp, dword [ebp + 0x170]
xor edi, edi
mov dword [ebp + 0x180], edi
mov byte [esp + 0x2c0], 1
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x29a70993
call fcn.29a9e850
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x29a709a5
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x29a709b7
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2b4
ret 8