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

Disassembly:
push 0xffffffffffffffff
push 0x5fbb33
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc8]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.00475a40
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x3c]
push edx
lea eax, [esp + eax + 0x38]
call fcn.00475bf0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
mov esi, dword [esp + eax + 0x44]
mov edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + eax + 0x4c]
shr edx, 8
and dl, 1
mov dword [esp + 0x20], esi
je 0x474b96
test esi, esi
mov byte [esp + 0x13], 1
jne 0x474b9b
mov byte [esp + 0x13], 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0041091a
cmp byte [esp + 0x13], 0
jne 0x474cb4
test esi, esi
jle 0x474bc7
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
mov ecx, dword [esp + 0xc0]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00476420
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add esp, 8
test byte [ebx + 0x60], 2
mov dword [esp + 0x24], ecx
mov byte [esp + 0x18], 0
je 0x474c3f
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
sub eax, ecx
je 0x474c29
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.0041aed4
mov esi, dword [esp + 0x24]
cmp byte [esi], al
je 0x474c3f
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.0041aed4
cmp byte [esi], al
je 0x474c3f
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.0041aed4
mov byte [esp + 0x18], al
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebx + 0x5c]
xor edx, edx
cmp byte [esp + 0x18], dl
mov esi, eax
setne dl
mov dword [esp + 0x28], esi
lea eax, [esp + 0x28]
sub ecx, edx
cmp esi, ecx
mov dword [esp + 0x1c], ecx
jb 0x474c6d
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0x64]
mov edx, dword [ebx + 0x60]
mov eax, dword [eax]
shr edx, 2
and edx, 0xffffff01
push edx
mov edx, dword [esp + 0x18]
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
mov esi, edi
call fcn.00475d40
add esp, 0x1c
jmp 0x475021
mov ecx, dword [esp + 0xc0]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00476420
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, dword [ecx]
mov ebp, eax
add esp, 8
sub ebp, esi
test byte [ebx + 0x60], 2
mov byte [esp + 0x13], 0
je 0x474d17
sub eax, esi
je 0x474d12
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.0041aed4
cmp byte [esi], al
je 0x474d17
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.0041aed4
cmp byte [esi], al
je 0x474d17
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
cmp ebp, eax
jne 0x474d39
cmp eax, dword [ebx + 0x5c]
jg 0x474d39
cmp byte [esp + 0x13], 0
jne 0x474d39
push ebp
push esi
mov ecx, edi
call fcn.00410a89
jmp 0x47501a
push ebp
push esi
mov ecx, edi
call fcn.00410a89
mov esi, dword [esp + 0xc8]
call fcn.00475cd0
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00475a40
mov ecx, dword [esp + 0xcc]
mov byte [esp + 0xb8], 1
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
push ecx
lea eax, [esp + eax + 0x78]
lea ecx, [ebx + 0x3c]
call fcn.00475bf0
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x474da5
lea ecx, [esp + 0x74]
push 0x20
push ecx
call fcn.0041af14
add esp, 8
mov edx, dword [esp + 0xc0]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00476420
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [esi + 0x14]
add esp, 8
sub eax, dword [edx]
jne 0x474de0
test byte [ebx + 0x60], 2
je 0x474de0
lea eax, [esp + 0x74]
push 0x20
push eax
mov byte [esp + 0x1b], 1
call fcn.0041af14
add esp, 8
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [eax]
mov ebx, dword [ebx + 0x5c]
sub eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
jb 0x474e07
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
ja 0x474e21
push esi
push edx
mov ecx, edi
call fcn.00410a89
jmp 0x474fb1
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, cl
setne al
add ebp, eax
cmp esi, ebp
mov dword [esp + 0x14], ebp
lea esi, [esp + 0x18]
jb 0x474e3e
lea esi, [esp + 0x14]
mov ebx, dword [esi]
movzx ecx, cl
mov ebp, ecx
cmp ebp, ebx
mov dword [esp + 0x14], ecx
jae 0x474e83
mov esi, ebp
sub esi, eax
cmp esi, dword [edi + 0x14]
jbe 0x474e5f
call fcn.0051e314
mov edx, dword [esp + 0x24]
cmp dword [edi + 0x18], 0x10
jb 0x474e6a
mov eax, dword [edi + 4]
jmp 0x474e6d
lea eax, [edi + 4]
mov cl, byte [edx + ebp]
cmp cl, byte [eax + esi]
jne 0x474e7f
add ebp, 1
add esi, 1
cmp ebp, ebx
jb 0x474e51
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp ebp, ebx
jb 0x474e8d
mov ebp, ecx
push ebp
push edx
mov ecx, edi
call fcn.00410a89
mov esi, dword [esp + 0x20]
sub esi, ebx
test esi, esi
mov dword [esp + 0x1c], esi
jg 0x474ebb
push 0xe3
push str.C:LibBoost_1.37_boost_format_feed_args.hpp
push 0x6b0834
call fcn.00526f31
add esp, 0xc
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov cl, byte [esp + eax + 0xa4]
or edx, 0xffffffff
sub edx, dword [edi + 0x14]
mov byte [esp + 0x14], cl
cmp edx, esi
ja 0x474edc
call fcn.004fed19
test esi, esi
jbe 0x474f47
mov ebx, dword [edi + 0x14]
add ebx, esi
cmp ebx, 0xfffffffe
jbe 0x474eef
call fcn.004fed19
mov eax, dword [edi + 0x18]
cmp eax, ebx
jae 0x474f25
mov eax, dword [edi + 0x14]
push eax
push ebx
mov ecx, edi
call fcn.0040ff0f
test ebx, ebx
jbe 0x474f47
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x14]
push ecx
push esi
push edx
mov ecx, edi
call fcn.0040fe67
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], ebx
jb 0x474f40
mov eax, dword [edi + 4]
jmp 0x474f43
test ebx, ebx
jne 0x474f04
cmp eax, 0x10
mov dword [edi + 0x14], ebx
jb 0x474f38
mov eax, dword [edi + 4]
mov byte [eax], bl
jmp 0x474f47
lea eax, [edi + 4]
mov byte [eax], 0
jmp 0x474f47
lea eax, [edi + 4]
mov byte [eax + ebx], 0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, ebx
sub eax, ebp
add ebp, ecx
push eax
push ebp
mov ecx, edi
call fcn.0040fae8
test esi, esi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
jl 0x474f72
lea eax, [esp + 0x1c]
mov edx, dword [eax]
mov esi, dword [esp + 0x20]
add edx, ebx
cmp edx, esi
je 0x474f95
push 0xe7
push str.C:LibBoost_1.37_boost_format_feed_args.hpp
push str.i_tmp_size_i__std::max__d__std::streamsize_0___static_cast_size_type__w_
call fcn.00526f31
add esp, 0xc
cmp dword [edi + 0x14], esi
je 0x474fb1
push 0xe8
push str.C:LibBoost_1.37_boost_format_feed_args.hpp
push str.res.size____static_cast_size_type__w_
call fcn.00526f31
add esp, 0xc
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x74]
and eax, ecx
mov byte [esp + 0xb8], 0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov dword [ecx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x475005
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x475005
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x475005
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.004fe6f2
add esp, 4
mov ebp, dword [esp + 0xc8]
mov esi, ebp
call fcn.00475cd0
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x34]
and eax, ecx
mov dword [esp + 0xb8], 0xffffffff
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov dword [ecx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x475081
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x475081
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x475081
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], vtable.std::ios_base.0
call fcn.004fe6f2
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xac
ret