Function at 0x421440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578cb9
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5d2020]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push edi
mov eax, dword [0x5d2020]
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.00413b50
mov byte [esp + 0x74], 0
lea eax, [esp + 0x34]
mov byte [esp + 0x130], bl
call fcn.00413cb0
mov edi, eax
test edi, edi
setge dl
test edi, edi
mov byte [esp + 0x74], dl
je 0x42151c
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x134], 0
call fcn.00413bb0
jmp 0x4216ec
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.004295a0
mov edi, eax
test edi, edi
je 0x421547
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x134], 0
call fcn.00413bb0
jmp 0x4216ec
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00413490
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 [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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
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.00413bb0
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 0x4215e4
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.00427bf0
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
jne 0x4216d8
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.00413b50
mov byte [esp + 0xbc], bl
mov byte [esp + 0x130], 5
cmp dword [esp + 0xfc], 0x10
mov eax, dword [esp + 0xe8]
jae 0x42165a
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x80]
call fcn.00413c40
cmp eax, ebx
setge cl
cmp eax, ebx
mov byte [esp + 0xbc], cl
mov edi, eax
jne 0x4216b1
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x80]
call fcn.00427cd0
mov edi, eax
cmp edi, ebx
jne 0x4216b1
mov edi, dword [esp + 0x100]
cmp edi, ebx
jne 0x4216b1
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x80]
call fcn.00427d80
mov edi, eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x134], 4
call fcn.00413bb0
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.0044e502
mov esp, ebp
pop ebp
ret