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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49889a
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4c5d0c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x214]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.0044c7c0
add esp, 8
cmp dword [esp + 0xec], 0x10
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x100], 0
jae 0x4237bc
lea eax, [esp + 0xd8]
push 1
push 0x40
push 2
push eax
lea ecx, [esp + 0x3c]
call fcn.004275f0
lea edx, [edi + 0x1f8]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x108], 1
call fcn.00427810
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040f2a0
mov ecx, esi
call fcn.00407810
lea ecx, [edi + 0x230]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00427810
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040f2a0
mov ecx, esi
call fcn.00407810
mov eax, dword [edi + 0x24]
test eax, eax
jbe 0x42393b
mov eax, dword [edi + 0x20]
mov ebx, dword [eax]
mov esi, dword [edi + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
jmp 0x423840
mov eax, dword [edi + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
test esi, esi
je 0x423852
cmp esi, eax
je 0x423857
call fcn.004720c6
cmp ebx, dword [esp + 0x24]
je 0x42393b
test esi, esi
jne 0x42392d
call fcn.004720c6
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x42387a
call fcn.004720c6
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xb8]
push eax
call edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x100], 2
test esi, esi
jne 0x423934
call fcn.004720c6
cmp ebx, dword [esi + 0x18]
jne 0x4238af
call fcn.004720c6
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x28]
push 9
push 0x49fdd0
push eax
push 9
add ecx, 0x40
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00427810
add esp, 8
push eax
call fcn.00427a90
add esp, 8
push eax
call fcn.00427810
add esp, 8
push eax
call fcn.0040f090
add esp, 8
push eax
call fcn.00427a90
add esp, 8
cmp dword [esp + 0xd0], 0x10
mov byte [esp + 0x100], 1
jb 0x423917
mov eax, dword [esp + 0xbc]
push eax
call fcn.00470751
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0043b220
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x423840
mov eax, dword [esi]
jmp 0x423870
mov esi, dword [esi]
jmp 0x4238a5
push 0xa
lea ecx, [esp + 0x30]
call fcn.0040f2a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + eax + 0x34]
xor esi, esi
test cl, 6
jne 0x42396f
mov eax, dword [esp + eax + 0x54]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x42396f
mov esi, 4
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x2c]
test esi, esi
je 0x423994
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x42398c
or eax, 4
push 0
push eax
call fcn.00406db0
push 9
lea edx, [esp + 0x30]
push str.TRIAL
push edx
call fcn.0040f090
add esp, 8
push eax
call fcn.00427a90
add esp, 8
cmp dword [edi + 0x108], 0
je 0x423a71
mov esi, dword [edi + 0x104]
mov eax, dword [edi + 0x108]
add eax, esi
cmp esi, eax
jbe 0x4239d5
call fcn.004720c6
mov ebx, dword [edi + 0xec]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jmp 0x4239f0
mov eax, dword [edi + 0x104]
mov esi, dword [edi + 0x108]
add esi, eax
cmp eax, esi
jbe 0x423a07
call fcn.004720c6
mov eax, dword [edi + 0xec]
test ebx, ebx
je 0x423a15
cmp ebx, eax
je 0x423a1a
call fcn.004720c6
cmp dword [esp + 0x18], esi
je 0x423a71
lea ecx, [esp + 0x14]
call fcn.00442b10
mov ecx, dword [eax]
push 9
add ecx, 0x40
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00427810
add esp, 8
push eax
call fcn.00427a90
add esp, 8
test ebx, ebx
jne 0x423a6b
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x18], ecx
jb 0x423a65
call fcn.004720c6
inc dword [esp + 0x18]
jmp 0x4239f0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x423a54
cmp dword [edi + 0x1f0], 0
je 0x423b31
mov esi, dword [edi + 0x1ec]
mov edx, dword [edi + 0x1f0]
add edx, esi
cmp esi, edx
jbe 0x423a95
call fcn.004720c6
mov ebx, dword [edi + 0x1d4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jmp 0x423ab0
mov eax, dword [edi + 0x1ec]
mov esi, dword [edi + 0x1f0]
add esi, eax
cmp eax, esi
jbe 0x423ac7
call fcn.004720c6
mov eax, dword [edi + 0x1d4]
test ebx, ebx
je 0x423ad5
cmp ebx, eax
je 0x423ada
call fcn.004720c6
cmp dword [esp + 0x18], esi
je 0x423b31
lea ecx, [esp + 0x14]
call fcn.00442b10
mov eax, dword [eax]
push 9
add eax, 0x40
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00427810
add esp, 8
push eax
call fcn.00427a90
add esp, 8
test ebx, ebx
jne 0x423b2b
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x18], edx
jb 0x423b25
call fcn.004720c6
inc dword [esp + 0x18]
jmp 0x423ab0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x423b14
push 0xa
lea ecx, [esp + 0x30]
call fcn.0040f2a0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x34], 6
jne 0x423b63
mov eax, dword [esp + eax + 0x54]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x423b63
mov esi, 4
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x2c]
test esi, esi
je 0x423b88
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x423b80
or eax, 4
push 0
push eax
call fcn.00406db0
mov edx, dword [edi + 0x268]
sub edx, dword [edi + 0x264]
mov dword [esp + 0x1c], 0
sar edx, 2
test edx, edx
jbe 0x423d9b
mov eax, dword [esp + 0x1c]
inc eax
push 9
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00427d50
push eax
call fcn.00427a90
mov esi, dword [edi + 0x104]
mov eax, dword [edi + 0x108]
add eax, esi
add esp, 8
cmp esi, eax
jbe 0x423bdc
call fcn.004720c6
mov ebx, dword [edi + 0xec]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
lea ebx, [ebx]
mov eax, dword [edi + 0x104]
mov esi, dword [edi + 0x108]
add esi, eax
cmp eax, esi
jbe 0x423c07
call fcn.004720c6
mov eax, dword [edi + 0xec]
test ebx, ebx
je 0x423c15
cmp ebx, eax
je 0x423c1a
call fcn.004720c6
cmp dword [esp + 0x18], esi
je 0x423c75
lea ecx, [esp + 0x14]
call fcn.00442b10
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push eax
call edx
lea eax, [esp + 0x2c]
push 9
push eax
call fcn.00427a90
add esp, 8
test ebx, ebx
jne 0x423c6f
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x18], ecx
jb 0x423c69
call fcn.004720c6
inc dword [esp + 0x18]
jmp 0x423bf0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x423c58
mov esi, dword [edi + 0x1ec]
mov edx, dword [edi + 0x1f0]
add edx, esi
cmp esi, edx
jbe 0x423c8c
call fcn.004720c6
mov ebx, dword [edi + 0x1d4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
lea ebx, [ebx]
mov eax, dword [edi + 0x1ec]
mov esi, dword [edi + 0x1f0]
add esi, eax
cmp eax, esi
jbe 0x423cb7
call fcn.004720c6
mov eax, dword [edi + 0x1d4]
test ebx, ebx
je 0x423cc5
cmp ebx, eax
je 0x423cca
call fcn.004720c6
cmp dword [esp + 0x24], esi
je 0x423d25
lea ecx, [esp + 0x20]
call fcn.00442b10
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push edx
call eax
lea ecx, [esp + 0x2c]
push 9
push ecx
call fcn.00427a90
add esp, 8
test ebx, ebx
jne 0x423d1f
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x24], edx
jb 0x423d19
call fcn.004720c6
inc dword [esp + 0x24]
jmp 0x423ca0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x423d08
push 0xa
lea ecx, [esp + 0x30]
call fcn.0040f2a0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x34], 6
jne 0x423d57
mov eax, dword [esp + eax + 0x54]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x423d57
mov esi, 4
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x2c]
test esi, esi
je 0x423d7c
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x423d74
or eax, 4
push 0
push eax
call fcn.00406db0
mov edx, dword [edi + 0x268]
sub edx, dword [edi + 0x264]
mov eax, dword [esp + 0x28]
sar edx, 2
mov dword [esp + 0x1c], eax
cmp eax, edx
jb 0x423ba7
xor ebx, ebx
lea esi, [esp + 0x30]
cmp dword [esp + 0x7c], ebx
je 0x423dc5
mov ecx, esi
call fcn.00425240
test al, al
jne 0x423db4
xor esi, esi
mov eax, dword [esp + 0x7c]
push eax
call fcn.00474e6e
add esp, 4
test eax, eax
je 0x423dc7
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x3c]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [0x4c8c7c]
lea edx, [esp + 0x58]
lea eax, [esp + 0x5c]
mov byte [esp + 0x78], 0
mov byte [esp + 0x71], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], ebx
cmp esi, ebx
jne 0x423e50
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x34]
lea ecx, [esp + ecx + 0x2c]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x423e49
or eax, 4
push ebx
push eax
call fcn.00406db0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x80]
mov dword [esp + 0x20], eax
mov dword [esp + edx + 0x2c], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
cmp byte [esp + 0x78], 0
mov byte [esp + 0x100], 4
je 0x423f07
cmp dword [esp + 0x7c], ebx
je 0x423ea3
mov ecx, eax
call fcn.00425240
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00474e6e
add esp, 4
lea edx, [esp + 0x38]
mov dword [esp + 0x40], edx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov edx, dword [0x4c8c7c]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0
mov byte [esp + 0x71], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x30], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x68]
mov byte [esp + 0x100], 5
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x423f72
mov edi, dword [eax]
cmp edi, ebx
je 0x423f65
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046f47c
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x423f43
cmp eax, 0xffffffff
jae 0x423f43
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.0046f4a4
cmp esi, ebx
je 0x423f65
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.00470751
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x100], 3
call fcn.0046f3f9
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x80]
mov dword [esp + edx + 0x2c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov byte [esp + 0x104], 0
mov dword [esp + 0x84], vtable.std::ios_base.0
call fcn.0046f3a3
add esp, 4
cmp dword [esp + 0xec], 0x10
jb 0x423fcf
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00470751
add esp, 4
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0047031e
mov esp, ebp
pop ebp
ret