Function at 0x42d610
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c4ea
mov eax, dword fs:[0]
push eax
mov eax, 0x200dc
call fcn.00457150
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x200c8], eax
mov dword [ebp - 0x200c4], ebx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.MSVCR100.dll_sprintf_s]
je 0x42d674
push 0x487260
push 0x4877a0
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
jmp 0x42d684
push 0x48725c
push 0x4877a0
push 0xa
lea edx, [ebp - 0x1c]
push edx
call edi
add esp, 0x10
lea esi, [ebp - 0x30]
call fcn.0042dac0
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
push ecx
push str._s__s
lea edx, [ebp - 0x50]
push 0x1e
push edx
call edi
mov eax, dword [ebp + 0x10]
add esp, 0x14
cmp dword [ebp + 0x24], 8
jae 0x42d6b4
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0x2c]
push ecx
push eax
lea edx, [ebp - 0x20050]
push 0xffff
push edx
call dword [sym.imp.MSVCR100.dll__vsnwprintf]
add esp, 0x10
cmp eax, ebx
jl 0x42d6e3
cmp eax, 0xffff
ja 0x42d6e3
jne 0x42d6e9
xor eax, eax
mov word [ebp - 0x52], ax
jmp 0x42d6e9
xor ecx, ecx
mov word [ebp - 0x52], cx
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x200cc], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42d819
push 6
mov esi, 0xf
push str.GB2312
lea ecx, [ebp - 0x200e8]
mov dword [ebp - 0x200d4], esi
mov dword [ebp - 0x200d8], ebx
mov byte [ebp - 0x200e8], bl
call fcn.00402900
mov byte [ebp - 4], 2
xor edx, edx
lea eax, [ebp - 0x20050]
mov word [ebp - 0x20088], dx
mov dword [ebp - 0x200c4], 1
mov dword [ebp - 0x20074], 7
mov dword [ebp - 0x20078], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d760
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20050]
push eax
lea ecx, [ebp - 0x20088]
call fcn.004042f0
mov eax, 3
lea ecx, [ebp - 0x200e8]
mov dword [ebp - 4], eax
push ecx
lea edx, [ebp - 0x20088]
mov dword [ebp - 0x200c4], eax
push edx
lea eax, [ebp - 0x200c0]
push eax
call fcn.0042e950
add esp, 0xc
mov edi, eax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20058], esi
mov dword [ebp - 0x200c4], 7
mov dword [ebp - 0x2005c], ebx
mov byte [ebp - 0x2006c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d7d8
sub eax, esi
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x2006c]
call fcn.00402900
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x200cc]
mov ecx, edi
lea eax, [ebp - 0x2006c]
mov dword [ebp - 0x200c4], 0xf
call fcn.004126e0
mov edi, eax
jmp 0x42d81b
xor edi, edi
test byte [ebp - 0x200c4], 8
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
je 0x42d85c
and dword [ebp - 0x200c4], 0xfffffff7
cmp dword [ebp - 0x20058], 0x10
jb 0x42d846
mov edx, dword [ebp - 0x2006c]
push edx
call esi
add esp, 4
mov dword [ebp - 0x20058], 0xf
mov dword [ebp - 0x2005c], ebx
mov byte [ebp - 0x2006c], bl
test byte [ebp - 0x200c4], 4
je 0x42d897
and dword [ebp - 0x200c4], 0xfffffffb
cmp dword [ebp - 0x200ac], 0x10
jb 0x42d881
mov eax, dword [ebp - 0x200c0]
push eax
call esi
add esp, 4
mov dword [ebp - 0x200ac], 0xf
mov dword [ebp - 0x200b0], ebx
mov byte [ebp - 0x200c0], bl
test byte [ebp - 0x200c4], 2
je 0x42d8d5
and dword [ebp - 0x200c4], 0xfffffffd
cmp dword [ebp - 0x20074], 8
jb 0x42d8bc
mov ecx, dword [ebp - 0x20088]
push ecx
call esi
add esp, 4
xor edx, edx
mov dword [ebp - 0x20074], 7
mov dword [ebp - 0x20078], ebx
mov word [ebp - 0x20088], dx
mov dword [ebp - 4], ebx
test byte [ebp - 0x200c4], 1
je 0x42d90c
cmp dword [ebp - 0x200d4], 0x10
jb 0x42d8f6
mov eax, dword [ebp - 0x200e8]
push eax
call esi
add esp, 4
mov dword [ebp - 0x200d4], 0xf
mov dword [ebp - 0x200d8], ebx
mov byte [ebp - 0x200e8], bl
push 1
push 0x487774
push edi
xor eax, eax
call fcn.00426630
mov esi, eax
cmp esi, ebx
jl 0x42d993
push 2
push 0x487778
lea ecx, [ebp - 0x200a4]
mov dword [ebp - 0x20090], 0xf
mov dword [ebp - 0x20094], ebx
mov byte [ebp - 0x200a4], bl
call fcn.00402900
push 2
push ebx
lea ecx, [ebp - 0x200a4]
push ecx
push 1
push esi
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0042db50
mov byte [ebp - 4], bl
cmp dword [ebp - 0x20090], 0x10
jb 0x42d97d
mov edx, dword [ebp - 0x200a4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 1
push 0x487774
lea eax, [esi + 2]
push edi
call fcn.00426630
mov esi, eax
cmp esi, ebx
jge 0x42d921
mov ebx, 0x10
cmp dword [edi + 0x14], ebx
jb 0x42d9a1
mov eax, dword [edi]
jmp 0x42d9a3
mov eax, edi
mov esi, dword [ebp - 0x200c8]
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll_fprintf_s]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 0xc
cmp dword [edi + 0x14], ebx
jb 0x42d9c8
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 0x24], 8
jb 0x42d9e2
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret