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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4978ea
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4c1cfc]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c1cfc]
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.004412a0
add esp, 8
cmp dword [esp + 0xec], 0x10
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x100], 0
jae 0x4470ac
lea eax, [esp + 0xd8]
push 1
push 0x40
push 2
push eax
lea ecx, [esp + 0x3c]
call fcn.0043f570
lea edx, [edi + 0x1f8]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x108], 1
call fcn.00437220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404f30
mov ecx, esi
call fcn.00404b70
lea ecx, [edi + 0x230]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00437220
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404f30
mov ecx, esi
call fcn.00404b70
mov eax, dword [edi + 0x24]
test eax, eax
jbe 0x44722b
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 0x447130
mov eax, dword [edi + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
test esi, esi
je 0x447142
cmp esi, eax
je 0x447147
call fcn.0046da61
cmp ebx, dword [esp + 0x24]
je 0x44722b
test esi, esi
jne 0x44721d
call fcn.0046da61
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x44716a
call fcn.0046da61
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 0x447224
call fcn.0046da61
cmp ebx, dword [esi + 0x18]
jne 0x44719f
call fcn.0046da61
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x28]
push 9
push 0x49e920
push eax
push 9
add ecx, 0x40
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00437220
add esp, 8
push eax
call fcn.0043f6b0
add esp, 8
push eax
call fcn.00437220
add esp, 8
push eax
call fcn.00404d20
add esp, 8
push eax
call fcn.0043f6b0
add esp, 8
cmp dword [esp + 0xd0], 0x10
mov byte [esp + 0x100], 1
jb 0x447207
mov eax, dword [esp + 0xbc]
push eax
call fcn.0046d8ad
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0042f530
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x447130
mov eax, dword [esi]
jmp 0x447160
mov esi, dword [esi]
jmp 0x447195
push 0xa
lea ecx, [esp + 0x30]
call fcn.00404f30
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + eax + 0x34]
xor esi, esi
test cl, 6
jne 0x44725f
mov eax, dword [esp + eax + 0x54]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x44725f
mov esi, 4
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x2c]
test esi, esi
je 0x447284
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x44727c
or eax, 4
push 0
push eax
call fcn.004049a0
push 9
lea edx, [esp + 0x30]
push str.TRIAL
push edx
call fcn.00404d20
add esp, 8
push eax
call fcn.0043f6b0
add esp, 8
cmp dword [edi + 0x108], 0
je 0x447361
mov esi, dword [edi + 0x104]
mov eax, dword [edi + 0x108]
add eax, esi
cmp esi, eax
jbe 0x4472c5
call fcn.0046da61
mov ebx, dword [edi + 0xec]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jmp 0x4472e0
mov eax, dword [edi + 0x104]
mov esi, dword [edi + 0x108]
add esi, eax
cmp eax, esi
jbe 0x4472f7
call fcn.0046da61
mov eax, dword [edi + 0xec]
test ebx, ebx
je 0x447305
cmp ebx, eax
je 0x44730a
call fcn.0046da61
cmp dword [esp + 0x18], esi
je 0x447361
lea ecx, [esp + 0x14]
call fcn.004178e0
mov ecx, dword [eax]
push 9
add ecx, 0x40
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00437220
add esp, 8
push eax
call fcn.0043f6b0
add esp, 8
test ebx, ebx
jne 0x44735b
call fcn.0046da61
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x18], ecx
jb 0x447355
call fcn.0046da61
inc dword [esp + 0x18]
jmp 0x4472e0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x447344
cmp dword [edi + 0x1f0], 0
je 0x447421
mov esi, dword [edi + 0x1ec]
mov edx, dword [edi + 0x1f0]
add edx, esi
cmp esi, edx
jbe 0x447385
call fcn.0046da61
mov ebx, dword [edi + 0x1d4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jmp 0x4473a0
mov eax, dword [edi + 0x1ec]
mov esi, dword [edi + 0x1f0]
add esi, eax
cmp eax, esi
jbe 0x4473b7
call fcn.0046da61
mov eax, dword [edi + 0x1d4]
test ebx, ebx
je 0x4473c5
cmp ebx, eax
je 0x4473ca
call fcn.0046da61
cmp dword [esp + 0x18], esi
je 0x447421
lea ecx, [esp + 0x14]
call fcn.004178e0
mov eax, dword [eax]
push 9
add eax, 0x40
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00437220
add esp, 8
push eax
call fcn.0043f6b0
add esp, 8
test ebx, ebx
jne 0x44741b
call fcn.0046da61
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x18], edx
jb 0x447415
call fcn.0046da61
inc dword [esp + 0x18]
jmp 0x4473a0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x447404
push 0xa
lea ecx, [esp + 0x30]
call fcn.00404f30
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x34], 6
jne 0x447453
mov eax, dword [esp + eax + 0x54]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x447453
mov esi, 4
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x2c]
test esi, esi
je 0x447478
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x447470
or eax, 4
push 0
push eax
call fcn.004049a0
mov edx, dword [edi + 0x268]
sub edx, dword [edi + 0x264]
mov dword [esp + 0x1c], 0
sar edx, 2
test edx, edx
jbe 0x44768b
mov eax, dword [esp + 0x1c]
inc eax
push 9
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.004497d0
push eax
call fcn.0043f6b0
mov esi, dword [edi + 0x104]
mov eax, dword [edi + 0x108]
add eax, esi
add esp, 8
cmp esi, eax
jbe 0x4474cc
call fcn.0046da61
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 0x4474f7
call fcn.0046da61
mov eax, dword [edi + 0xec]
test ebx, ebx
je 0x447505
cmp ebx, eax
je 0x44750a
call fcn.0046da61
cmp dword [esp + 0x18], esi
je 0x447565
lea ecx, [esp + 0x14]
call fcn.004178e0
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.0043f6b0
add esp, 8
test ebx, ebx
jne 0x44755f
call fcn.0046da61
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x18], ecx
jb 0x447559
call fcn.0046da61
inc dword [esp + 0x18]
jmp 0x4474e0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x447548
mov esi, dword [edi + 0x1ec]
mov edx, dword [edi + 0x1f0]
add edx, esi
cmp esi, edx
jbe 0x44757c
call fcn.0046da61
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 0x4475a7
call fcn.0046da61
mov eax, dword [edi + 0x1d4]
test ebx, ebx
je 0x4475b5
cmp ebx, eax
je 0x4475ba
call fcn.0046da61
cmp dword [esp + 0x24], esi
je 0x447615
lea ecx, [esp + 0x20]
call fcn.004178e0
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.0043f6b0
add esp, 8
test ebx, ebx
jne 0x44760f
call fcn.0046da61
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x24], edx
jb 0x447609
call fcn.0046da61
inc dword [esp + 0x24]
jmp 0x447590
mov eax, dword [ebx]
mov ecx, eax
jmp 0x4475f8
push 0xa
lea ecx, [esp + 0x30]
call fcn.00404f30
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x34], 6
jne 0x447647
mov eax, dword [esp + eax + 0x54]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x447647
mov esi, 4
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x2c]
test esi, esi
je 0x44766c
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x447664
or eax, 4
push 0
push eax
call fcn.004049a0
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 0x447497
xor ebx, ebx
lea esi, [esp + 0x30]
cmp dword [esp + 0x7c], ebx
je 0x4476b5
mov ecx, esi
call fcn.0043e6a0
test al, al
jne 0x4476a4
xor esi, esi
mov eax, dword [esp + 0x7c]
push eax
call fcn.0047156e
add esp, 4
test eax, eax
je 0x4476b7
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 [0x4c59bc]
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 0x447740
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 0x447739
or eax, 4
push ebx
push eax
call fcn.004049a0
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 0x4477f7
cmp dword [esp + 0x7c], ebx
je 0x447793
mov ecx, eax
call fcn.0043e6a0
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0047156e
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 [0x4c59bc]
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 0x447862
mov edi, dword [eax]
cmp edi, ebx
je 0x447855
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046b21e
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x447833
cmp eax, 0xffffffff
jae 0x447833
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.0046b246
cmp esi, ebx
je 0x447855
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046d8ad
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x100], 3
call fcn.0046afbe
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.0046b686
add esp, 4
cmp dword [esp + 0xec], 0x10
jb 0x4478bf
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0046d8ad
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.0046bfee
mov esp, ebp
pop ebp
ret