Function at 0x40d892
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43add6
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x44c4b8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x44c4b8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x2c]
push 0x71aac
mov dword [esp + 0x18], eax
call fcn.0041e244
xor ebx, ebx
pop ecx
test eax, eax
je 0x40d941
mov ecx, eax
call fcn.00412622
mov esi, eax
jmp 0x40d943
mov esi, ebx
test esi, esi
jne 0x40d94e
xor eax, eax
jmp 0x40dd47
mov eax, dword [0x44d5d0]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push str.api_commitS3CrashUpload.php
mov dword [esp + 0xa0], ebx
mov ecx, dword [esp + 0x18]
push 0x443918
push dword [esp + 0x24]
call fcn.00415344
add esp, 0x10
mov ecx, esi
call fcn.0041314e
push ebx
push dword [esp + 0x14]
push str.database
call fcn.00412e94
push ebx
push dword [esp + 0x30]
mov ecx, esi
push str.appName
call fcn.00412e94
push ebx
push dword [esp + 0x1c]
mov ecx, esi
push str.appVersion
call fcn.00412e94
push ebx
push dword [esp + 0x2c]
mov ecx, esi
push str.appKey
call fcn.00412e94
push ebx
push dword [esp + 0x28]
mov ecx, esi
push str.crashType
call fcn.00412e94
push ebx
push dword [esp + 0x24]
mov ecx, esi
push str.user
call fcn.00412e94
push ebx
push dword [esp + 0x34]
mov ecx, esi
push str.email
call fcn.00412e94
push ebx
push dword [esp + 0x3c]
mov ecx, esi
push str.description
call fcn.00412e94
push ebx
push dword [esp + 0x44]
mov ecx, esi
push 0x44323c
call fcn.00412e94
push ebx
push dword [esp + 0x40]
mov ecx, esi
push 0x444300
call fcn.00412e94
push ebx
push dword [esp + 0x38]
mov ecx, esi
push str.s3Key
call fcn.00412e94
push ebx
push dword [esp + 0x18]
mov ecx, esi
push str.internalIP
call fcn.00412e94
cmp dword [edi + 0x54], 0
jle 0x40da67
push dword [edi + 0x54]
mov ecx, esi
push str.DotNetFrameworkFileCount
call fcn.00412f1a
push ecx
push 2
push dword [esp + 0x24]
mov ecx, esi
call fcn.004128b1
test eax, eax
jne 0x40da8e
push dword [esp + 0x1c]
mov ecx, edi
push str.commitS3CrashUpload_request_failed:
call fcn.0040e721
jmp 0x40dd3c
mov ecx, esi
call fcn.00413313
push eax
lea ecx, [esp + 0x2c]
call fcn.004098cb
mov byte [esp + 0x98], 1
mov ecx, edi
push dword [esp + 0x1c]
push str.HTTP_commitS3CrashUpload_post_response:
call fcn.0040e721
mov esi, dword [esp + 0x28]
mov ecx, edi
push esi
push ebx
call fcn.0040e721
push str._____________________________
push ebx
mov ecx, edi
call fcn.0040e721
sub esp, 0xc
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], esi
call fcn.0040e95f
lea eax, [esp + 0x44]
mov byte [esp + 0x98], 2
push eax
lea ecx, [esp + 0x50]
call fcn.0040ee09
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push str.status
shl esi, 5
lea ecx, [esp + 0x50]
add esi, dword [esp + 0x58]
push eax
call fcn.0040eaad
cmp dword [eax], esi
jne 0x40db25
push ebx
push str.commitS3CrashUpload_failed_to_get_json_status
jmp 0x40db45
push str.status
lea ecx, [esp + 0x50]
call fcn.0040eba0
push ecx
mov ecx, eax
call fcn.0040ea04
test al, al
jne 0x40db51
push ebx
push str.commitS3CrashUpload_status___success
mov ecx, edi
call fcn.0040e721
jmp 0x40dd11
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push str.crashId
shl esi, 5
lea ecx, [esp + 0x50]
add esi, dword [esp + 0x58]
push eax
mov dword [edi + 0x50], ebx
call fcn.0040eaad
cmp dword [eax], esi
je 0x40db89
push str.crashId
lea ecx, [esp + 0x50]
call fcn.0040eba0
mov eax, dword [eax]
mov dword [edi + 0x50], eax
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push str.stackKeyId
shl esi, 5
lea ecx, [esp + 0x50]
add esi, dword [esp + 0x58]
push eax
mov dword [esp + 0x28], ebx
call fcn.0040eaad
cmp dword [eax], esi
je 0x40dbc3
push str.stackKeyId
lea ecx, [esp + 0x50]
call fcn.0040eba0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
push 0x443918
lea ecx, [esp + 0x1c]
call fcn.004098cb
mov byte [esp + 0x98], 5
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
push str.infoUrl
shl esi, 5
add esi, dword [esp + 0x58]
push eax
call fcn.0040eaad
cmp dword [eax], esi
je 0x40dc21
push str.infoUrl
lea ecx, [esp + 0x50]
call fcn.0040eba0
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x40dc17
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409668
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push str.messageId
shl esi, 5
lea ecx, [esp + 0x50]
add esi, dword [esp + 0x58]
push eax
mov dword [esp + 0x2c], ebx
call fcn.0040eaad
cmp dword [eax], esi
je 0x40dc5b
push str.messageId
lea ecx, [esp + 0x50]
call fcn.0040eba0
mov eax, dword [eax]
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
mov ecx, edi
push str.commitS3CrashUpload_succeeded
call fcn.0040e721
push dword [esp + 0x2c]
mov ecx, edi
push str.appName
call fcn.0040e721
mov eax, dword [0x44d5d0]
mov dword [esp + 0x10], eax
mov byte [esp + 0x98], 6
lea eax, [esp + 0x10]
push dword [edi + 0x50]
push str.crashId:__d
push eax
call fcn.00411ce1
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x14]
call fcn.0040e721
push dword [esp + 0x20]
lea eax, [esp + 0x14]
push str.stackKeyId:__d
push eax
call fcn.00411ce1
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x14]
call fcn.0040e721
push dword [esp + 0x18]
mov ecx, edi
push str.infoURL
call fcn.0040e721
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call fcn.00411d59
push dword [edi + 0x50]
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.0040dfd3
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
inc ebx
call fcn.004095d5
lea ecx, [esp + 0x18]
call fcn.004095d5
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x40dd1f
push ecx
call fcn.0040ea66
push dword [esp + 0x6c]
call fcn.0041f09b
pop ecx
push dword [esp + 0x68]
call fcn.0041da87
pop ecx
lea ecx, [esp + 0x28]
call fcn.004095d5
lea ecx, [esp + 0x1c]
call fcn.004095d5
mov eax, ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0041da8c
mov esp, ebp
pop ebp
ret