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

Disassembly:
sub esp, 0x88
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x98]
push edi
push eax
mov ebp, 1
push 0x24
push ebp
push esi
call fcn.004184e0
add esp, 0x10
test eax, eax
jne 0x448ef5
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebp
mov edx, dword [esp + 0x10]
mov dword [edx + 4], ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x94]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x20], 4
mov al, byte [esi + 0x23c]
test al, 8
je 0x44882a
mov eax, dword [esp + 0x10]
or dword [eax + 0x20], 2
mov eax, dword [esi + 0x23c]
test ah, 0x40
je 0x448857
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
push str.process_private
push esi
call fcn.00418480
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x448d80
jmp 0x4488d1
push str.__db.001
push 0x4b1e50
lea ecx, [esp + 0x80]
push 0x1e
push ecx
call fcn.00493e1e
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x88]
add edx, 0x10
push edx
push 0
push 0
push eax
push 0
push esi
call fcn.0041acc0
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x448d80
test byte [esi + 0x23c], 8
je 0x448add
mov ecx, dword [esi + 0x9c]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x94]
push ecx
mov ecx, dword [eax + 0x10]
push edx
push 0x27
push ecx
push esi
call fcn.00449f70
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x448ab6
mov eax, dword [esp + 0x10]
mov ecx, 0x12
lea edi, [esp + 0x30]
mov ebx, dword [eax + 0x20]
or ebx, ebp
mov dword [eax + 0x20], ebx
mov edx, dword [esi + 0xe0]
xor eax, eax
add edx, 0x1610
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
or ebx, 0xffffffff
push ecx
push esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], ebx
call fcn.00472fc0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x448d80
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
push ebp
push edx
mov ecx, dword [eax + 0x14]
push ecx
push esi
call fcn.004499b0
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
add edx, 0x54
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
add eax, 0xffffffac
push eax
mov edx, dword [ecx + 0x14]
push edx
call fcn.00467ff0
mov eax, dword [esp + 0x28]
mov ebp, dword [eax + 0x18]
lea ecx, [ebp + 0x38]
lea edx, [ebp + 0x34]
push ecx
lea eax, [ebp + 0x30]
push edx
push eax
mov dword [ebp + 0x2c], edi
call fcn.0041a2d0
mov eax, dword [esp + 0xc4]
add esp, 0x24
cmp eax, edi
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], 1
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x4c], edi
jne 0x44899e
xor eax, eax
jmp 0x4489a0
mov eax, dword [eax]
mov dword [ebp + 0x3c], eax
mov ecx, dword [esp + 0x10]
push 0x600
push ebp
push ecx
push esi
call fcn.00439b20
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4489df
push edi
call fcn.0041c8a0
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x10]
push eax
push str._s:_unable_to_initialize_environment_lock:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
test byte [ebp + 0x24], 1
jne 0x448a17
push ebp
push esi
call fcn.0042a340
mov edi, eax
add esp, 8
test edi, edi
je 0x448a17
push edi
call fcn.0041c8a0
mov ecx, dword [esp + 0x14]
push eax
mov edx, dword [ecx + 0x10]
push edx
push str._s:_unable_to_acquire_environment_lock:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
push esi
call fcn.004497c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x448d42
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x3c], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x44], edx
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x448e42
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x9c]
push edx
lea eax, [esp + 0x24]
push 8
push eax
push ecx
push esi
call fcn.00450b60
mov edi, eax
add esp, 0x14
test edi, edi
je 0x448e42
push edi
call fcn.0041c8a0
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x10]
push eax
push str._s:_unable_to_write_out_public_environment_ID:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
cmp edi, 0x11
je 0x448add
push edi
call fcn.0041c8a0
mov ecx, dword [esp + 0x14]
push eax
mov edx, dword [ecx + 0x10]
push edx
push str._s:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
mov eax, dword [esi + 0x9c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x94]
push eax
mov eax, dword [edx + 0x10]
push ecx
push 0x22
push eax
push esi
call fcn.00449f70
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x448d80
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esi + 0x9c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push eax
mov edx, dword [ecx + 0x10]
push edx
push esi
call fcn.00449d20
mov edi, eax
add esp, 0x18
test edi, edi
je 0x448b53
push edi
call fcn.0041c8a0
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
push ecx
push str._s:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
shl ebx, 0x14
add ebx, ecx
cmp ebx, 8
ja 0x448bd6
jne 0x448d80
mov ecx, dword [esi + 0x9c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push 8
push eax
push ecx
push esi
call fcn.00450aa0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x448bb4
cmp dword [esp + 0x18], 8
jb 0x448baf
mov eax, dword [esi + 0x23c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
or eax, 0x200000
mov dword [esi + 0x23c], eax
jmp 0x448c0c
mov edi, 5
push edi
call fcn.0041c8a0
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x10]
push eax
push str._s:_unable_to_read_system_memory_information_from:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
test dword [esi + 0x23c], 0x200000
je 0x448c09
mov edi, 0x16
push edi
call fcn.0041c8a0
mov ecx, dword [esp + 0x14]
push eax
mov edx, dword [ecx + 0x10]
push edx
push str._s:_existing_environment_not_created_in_system_memory:__s
push esi
call fcn.0041c9b0
add esp, 0x14
jmp 0x448d80
or ebp, 0xffffffff
mov eax, dword [esi + 0x9c]
push eax
push esi
call fcn.004508d0
mov edx, dword [esp + 0x18]
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], ebx
push ecx
push edx
push esi
mov dword [esp + 0x88], ebp
call fcn.00472fc0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x448d80
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
add edx, 0x54
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x18]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x448c8e
mov ecx, dword [esi + 0x23c]
test ch, 8
jne 0x448c8e
push esi
call fcn.0041c830
add esp, 4
mov edi, eax
jmp 0x448d80
cmp dword [ebp + 0x28], 0x120897
jne 0x448d84
mov ecx, dword [ebp + 0x30]
cmp ecx, 4
jne 0x448d5e
cmp dword [ebp + 0x34], 1
jne 0x448d5e
cmp dword [ebp + 0x38], 0x19
jne 0x448d5e
test byte [ebp + 0x24], 1
jne 0x448ccf
push ebp
push esi
call fcn.0042a340
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x448cee
mov ecx, dword [esi + 0x23c]
test ch, 8
jne 0x448cee
push esi
call fcn.0041c830
add esp, 4
mov edi, eax
jmp 0x448d20
lea edx, [esp + 0x14]
push edx
push eax
push eax
push esi
call fcn.004497c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x448d32
mov eax, dword [esp + 0x14]
test eax, eax
je 0x448d32
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x3c], ebx
je 0x448e87
test byte [ebp + 0x24], 1
jne 0x448d80
push ebp
push esi
call fcn.0042a420
add esp, 8
jmp 0x448d80
test byte [ebp + 0x24], 1
jne 0x448d42
push ebp
push esi
call fcn.0042a420
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
push ecx
push str._s:_unable_to_find_environment
push esi
call fcn.0041c9b0
add esp, 0xc
test edi, edi
jne 0x448d80
jmp 0x448d7b
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
push edx
push eax
push ecx
push 0x19
push 1
push 4
push str.Program_version__d._d._d_doesnt_match_environment_version__d._d._d
push esi
call fcn.0041c9b0
add esp, 0x20
mov edi, 0x16
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x9c]
test byte [ecx + 0x20], 4
je 0x448d9e
push ecx
push esi
call fcn.004508d0
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x448dd6
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x448db7
lea ecx, [esp + 0x30]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
and ecx, 1
push ecx
push eax
push esi
call fcn.00473050
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448deb
push ecx
push esi
call fcn.00418640
mov eax, dword [esp + 0x18]
add esp, 8
push eax
push esi
call fcn.00418640
add esp, 8
test edi, edi
jne 0x448ef3
mov eax, dword [esp + 0x1c]
add eax, 3
cmp eax, 9
mov dword [esp + 0x1c], eax
ja 0x448ee0
push edi
push eax
push esi
call fcn.0042e080
lea edx, [esp + 0x1c]
mov ebp, 1
push edx
push 0x24
push ebp
push esi
call fcn.004184e0
add esp, 0x1c
test eax, eax
je 0x4487f3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [esi + 0x9c]
test byte [eax + 0x20], 4
je 0x448e58
push eax
push esi
call fcn.004508d0
add esp, 8
mov al, byte [ebp + 0x24]
mov dword [ebp + 0x28], 0x120897
test al, 1
jne 0x448e70
push ebp
push esi
call fcn.0042a420
add esp, 8
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x98], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov edx, dword [ebp + 0x48]
mov eax, dword [esp + 0xa0]
inc edx
test eax, eax
mov dword [ebp + 0x48], edx
je 0x448e9e
mov ecx, dword [ebp + 0x3c]
mov dword [eax], ecx
test byte [ebp + 0x24], 1
jne 0x448eae
push ebp
push esi
call fcn.0042a420
add esp, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
mov eax, dword [edx + 0x3c]
mov edx, dword [ecx + 0x18]
push eax
push edx
push esi
call fcn.004499b0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x98], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
push str.unable_to_join_the_environment
push esi
call fcn.0041c9b0
add esp, 8
mov edi, 0xb
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret