Function at 0x417180
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ae94
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x45487c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
cmp dword [ebp + 0xc], 0
jne 0x4171b9
jmp 0x417645
push 0x44a7bc
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 0
push 1
push 2
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x22]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 2]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
mov dword [ebp - 0xb4], eax
push str._r_n_t_t
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x588
call fcn.00422ec0
push eax
push str.wFoldType_:
push str._r_n_t_t
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x20]
push eax
push str.wStagger_:
push str._r_n_t_t
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x1e]
push edx
push str.wRestrictedAreaHeight_:
push str._r_n_t_t
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1c]
push ecx
push str.wRestrictedAreaWidth_:
push str._r_n_t_t
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x1a]
push eax
push str.wRestrictedAreaY_:
push str._r_n_t_t
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x18]
push edx
push str.wRestrictedAreaX_:
push str._r_n_t_t
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x16]
push ecx
push str.wPrintAreaHeight_:
push str._r_n_t_t
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x14]
push eax
push str.wPrintAreaWidth_:
push str._r_n_t_t
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x12]
push edx
push str.wPrintAreaY_:
push str._r_n_t_t
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x10]
push ecx
push str.wPrintAreaX_:
push str._r_n_t_t
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xe]
push eax
push str.wLineCount_:
push str._r_n_t_t
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0xc]
push edx
push str.wPageCount_:
push str._r_n_t_t
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa]
push ecx
push str.wSizeHeight_:
push str._r_n_t_t
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 8]
push eax
push str.wSizeWidth_:
push str._r_n_t_t
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
push edx
push str.wUnitY_:
push str._r_n_t_t
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 4]
push ecx
push str.wUnitX_:
push str._r_n_t_t
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x528
call fcn.00422ec0
push eax
push str.wBase_:
push str._r_n_t_t
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x4a0
call fcn.00422ec0
push eax
push str.fwMediaType_:
push str._r_n_t_t
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push eax
call fcn.0040d300
add esp, 8
push eax
call fcn.0040d300
add esp, 8
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
call fcn.0040d300
add esp, 8
mov edx, dword [ebp - 0x284]
movzx eax, word [edx + 0x108]
cmp eax, 0x300
jl 0x4175e9
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x24]
mov dword [ebp - 0xb8], edx
push str._r_n_t_t
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2b0
call fcn.00422ec0
push eax
push str.wPaperSources_:
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0040d300
add esp, 8
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
call fcn.0040d300
add esp, 8
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28c]
push ecx
mov ecx, dword [ebp + 8]
call dword [0x43f130]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8