Function at 0x410480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42e3c9
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x43701c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push edi
mov eax, dword [0x43701c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
mov ebx, 1
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x134], 0
call fcn.00402f00
mov byte [esp + 0x74], 0
lea eax, [esp + 0x34]
mov byte [esp + 0x130], bl
call fcn.00403060
mov edi, eax
test edi, edi
setge dl
test edi, edi
mov byte [esp + 0x74], dl
je 0x41055c
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x134], 0
call fcn.00402f60
jmp 0x41072c
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.00416950
mov edi, eax
test edi, edi
je 0x410587
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x134], 0
call fcn.00402f60
jmp 0x41072c
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00402840
mov edx, dword [esp + 0xdc]
add edx, 0xffffffff
push edx
push 0
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x134], 2
call dword [0x42f158]
lea ecx, [esp + 0x100]
mov byte [esp + 0x130], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x134], 0
call fcn.00402f60
lea ecx, [esp + 0xe4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x130], 3
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x410624
lea eax, [esp + 0xcc]
mov ecx, dword [esp + 0xdc]
lea edx, [esp + 0xe4]
push edx
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov edi, str.FinishedOfficeRequest
mov ebx, esi
call fcn.00414fa0
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
jne 0x410718
lea ecx, [esp + 0x104]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x134], 4
call fcn.00402f00
mov byte [esp + 0xbc], bl
mov byte [esp + 0x130], 5
cmp dword [esp + 0xfc], 0x10
mov eax, dword [esp + 0xe8]
jae 0x41069a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x80]
call fcn.00402ff0
cmp eax, ebx
setge cl
cmp eax, ebx
mov byte [esp + 0xbc], cl
mov edi, eax
jne 0x4106f1
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x80]
call fcn.00415080
mov edi, eax
cmp edi, ebx
jne 0x4106f1
mov edi, dword [esp + 0x100]
cmp edi, ebx
jne 0x4106f1
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x80]
call fcn.00415130
mov edi, eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x134], 4
call fcn.00402f60
lea ecx, [esp + 0x104]
mov byte [esp + 0x130], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x130], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x130], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00426a3b
mov esp, ebp
pop ebp
ret