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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59152a0d
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0xac
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x59049afd
mov dword [eax], 0
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0xd0]
test ebp, ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x94], esi
je 0x5904a6a0
test esi, esi
je 0x5904a6a0
push str.Content_Type:_multipart_form_data__boundary
push esi
push ebp
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x5904a6a0
mov edi, str.Content_Type:_multipart_form_data__boundary
or ecx, 0xffffffff
xor eax, eax
push 0x59188854
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
add edx, ecx
sub eax, edx
lea ebx, [edx + ebp]
push eax
push ebx
mov dword [esp + 0x5c], ebx
call fcn.5900f930
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x4c], eax
je 0x5904a6a0
mov ecx, dword [0x59162880]
mov dword [esp + 0x2c], ecx
xor eax, eax
mov edi, str.cookie
or ecx, 0xffffffff
mov dword [esp + 0xc4], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], eax
push ecx
push str.cookie
push esi
push ebp
mov dword [esp + 0x30], eax
call fcn.5900d6d0
add esp, 0x10
cmp eax, 0xffffffff
je 0x59049dd8
mov edx, dword [0x5916287c]
mov dword [esp + 0x10], edx
add eax, ebp
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0xc8], 1
call fcn.590a0590
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push 0x59186bac
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 2
call fcn.590a53b0
mov bl, 3
mov byte [esp + 0xc4], bl
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
je 0x59049d27
mov eax, dword [esp + 0x20]
mov edi, str._mpop
inc eax
or ecx, 0xffffffff
mov dword [esp + 0x20], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x5918d930
call fcn.590952c0
add esp, 0xc
test eax, eax
jne 0x59049ce2
lea edx, [esp + 0x44]
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x4c]
push 0x59189ed8
push eax
lea ecx, [esp + 0x24]
call fcn.590a53b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 4
call fcn.590a1040
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x59049ce2
push 0x59189430
lea ecx, [esp + 0x14]
call fcn.590a2040
cmp eax, 0xffffffff
jne 0x59049ce2
lea edx, [esp + 0x44]
lea eax, [esp + 0x54]
push edx
push 0x59189ed8
push eax
lea ecx, [esp + 0x24]
call fcn.590a53b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 5
call fcn.590a1040
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x59049c8a
lea edx, [esp + 0x1c]
lea eax, [esp + 0x58]
push edx
push 0x59186bac
push eax
lea ecx, [esp + 0x30]
call fcn.590a53b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 6
call fcn.590a1040
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
cmp dword [esp + 0x20], 7
jl 0x59049c03
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x59049da1
push 0x59189430
lea ecx, [esp + 0x14]
call fcn.590a2040
cmp eax, 0xffffffff
je 0x59049da1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.590a0490
lea eax, [esp + 0x4c]
mov byte [esp + 0xc8], bl
push eax
call fcn.5900b190
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 8
call fcn.590a1040
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59049da1
push eax
lea ecx, [esp + 0x30]
call fcn.590a65a0
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 2
call fcn.590a0ec0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 1
call fcn.590a0ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0xc4], 0
call fcn.590a0ec0
mov ebx, dword [esp + 0x50]
push 0x591892bc
push esi
push ebp
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x5904a68c
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], eax
add edx, ecx
lea ecx, [esp + 0x14]
add ebp, edx
sub esi, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push ebx
push esi
push ebp
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], esi
call fcn.5900d630
add esp, 0x18
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.590abbc0
lea ecx, [esp + 0x98]
mov byte [esp + 0xc4], 9
call fcn.590abbc0
mov eax, dword [0x59162880]
mov byte [esp + 0xc4], 0xa
mov dword [esp + 0x34], eax
mov byte [esp + 0xc4], 0xb
mov dword [esp + 0x3c], eax
mov byte [esp + 0xc4], 0xc
mov dword [esp + 0x28], eax
mov byte [esp + 0xc4], 0xd
mov dword [esp + 0x38], eax
mov byte [esp + 0xc4], 0xe
mov dword [esp + 0x30], eax
mov byte [esp + 0xc4], 0xf
mov dword [esp + 0x40], eax
mov byte [esp + 0xc4], 0x10
mov dword [esp + 0x60], eax
lea ecx, [esp + 0xac]
mov byte [esp + 0xc4], 0x11
call fcn.590b3a40
test esi, esi
mov byte [esp + 0xc4], 0x12
je 0x5904a49f
mov bl, 0x13
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5904a49f
mov ecx, dword [0x5916287c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push esi
mov byte [esp + 0xd0], bl
call fcn.5900f830
add esp, 0xc
test eax, eax
jne 0x59049f46
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0xd8]
push eax
push ecx
push edx
push ebp
call fcn.5900d630
add esp, 0x18
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0xc4], 0x12
call fcn.590a0ec0
jmp 0x5904a497
mov eax, dword [esp + 0x14]
push 0x591892bc
push eax
push esi
call fcn.5900f930
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x5904a451
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, ecx
mov ecx, dword [esp + 0x14]
sub ecx, ebp
test ecx, ecx
jg 0x59049fa8
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
push eax
push ecx
jmp 0x5904a475
mov edx, dword [esp + 0x10]
push 0x59189b40
push edx
call fcn.59088717
add esp, 8
test eax, eax
jne 0x5904a03d
mov eax, dword [esp + 0x14]
lea ecx, [esi + ebp]
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.590a0970
mov edx, dword [esp + 0x64]
push 0xfde9
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xcc], 0x14
call fcn.590aa6a0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5904a02d
push eax
lea eax, [esp + 0x78]
push eax
call fcn.5900b2f0
add esp, 8
lea ecx, [esp + 0x74]
mov byte [esp + 0xc4], 0x15
push ecx
lea ecx, [esp + 0x40]
call fcn.590a63d0
lea ecx, [esp + 0x74]
mov byte [esp + 0xc4], 0x14
call fcn.590a6240
lea ecx, [esp + 0x64]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov edx, dword [esp + 0x10]
push 0x591899d4
push edx
call fcn.59088717
add esp, 8
test eax, eax
jne 0x5904a092
mov eax, dword [esp + 0x14]
lea ecx, [esi + ebp]
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.590a0970
mov edx, dword [esp + 0x68]
push 0xfde9
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 0x16
call fcn.590aa6a0
lea ecx, [esp + 0x68]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov eax, dword [esp + 0x10]
push 0x59189964
push eax
call fcn.59088717
add esp, 8
test eax, eax
jne 0x5904a0e7
mov ecx, dword [esp + 0x14]
lea edx, [esi + ebp]
sub ecx, ebp
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.590a0970
mov eax, dword [esp + 0x6c]
push 0xfde9
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xcc], 0x17
call fcn.590aa6a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov ecx, dword [esp + 0x10]
push 0x591898f4
push ecx
call fcn.59088717
add esp, 8
test eax, eax
jne 0x5904a13c
mov edx, dword [esp + 0x14]
lea eax, [esi + ebp]
sub edx, ebp
lea ecx, [esp + 0x58]
push edx
push eax
call fcn.590a0970
mov ecx, dword [esp + 0x58]
push 0xfde9
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 0x18
call fcn.590aa6a0
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov edx, dword [esp + 0x10]
push 0x59189868
push edx
call fcn.59088717
add esp, 8
test eax, eax
jne 0x5904a191
mov eax, dword [esp + 0x14]
lea ecx, [esi + ebp]
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.590a0970
mov edx, dword [esp + 0x54]
push 0xfde9
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xcc], 0x19
call fcn.590aa6a0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
lea ecx, [esp + 0x10]
call fcn.590a20c0
push str.FILE
lea ecx, [esp + 0x14]
call fcn.590a2040
cmp eax, 0xffffffff
je 0x5904a451
mov eax, dword [esp + 0x14]
push str.filename_
push eax
push esi
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x5904a451
mov edi, str.filename_
or ecx, 0xffffffff
xor eax, eax
push 0x591888e8
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
lea edi, [edx + esi]
push ecx
push edi
call fcn.5900f930
add esp, 0xc
cmp eax, 0xffffffff
je 0x5904a451
test eax, eax
je 0x5904a451
mov edx, dword [0x5916287c]
mov dword [esp + 0x20], edx
mov ecx, dword [0x59162880]
mov byte [esp + 0xc4], 0x1a
mov dword [esp + 0x18], ecx
push eax
push edi
lea ecx, [esp + 0x90]
mov byte [esp + 0xcc], 0x1b
call fcn.590a0970
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 0x1c
call fcn.590aa6a0
lea ecx, [esp + 0x88]
mov byte [esp + 0xc4], 0x1b
call fcn.590a0ec0
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
je 0x5904a430
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.590a73f0
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.590a8530
mov ecx, dword [0x59162880]
mov byte [esp + 0xc4], 0x1d
mov dword [esp + 0x44], ecx
push 0x2e
lea ecx, [esp + 0x28]
mov byte [esp + 0xc8], 0x1e
call fcn.590a73f0
cmp eax, 0xffffffff
je 0x5904a2f5
inc eax
lea edx, [esp + 0xa8]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.590a8530
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0x1f
call fcn.590a63d0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc4], 0x1e
call fcn.590a6240
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x70]
push eax
call fcn.590a0760
lea ecx, [esp + 0x90]
push 0x59188bd0
push ecx
mov byte [esp + 0xcc], 0x20
call fcn.59059db0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0x21
call fcn.590a1040
lea ecx, [esp + 0x90]
mov byte [esp + 0xc4], 0x20
call fcn.590a0ec0
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x5904a38c
mov edx, dword [esp + 0x20]
push 0x180
push 0x8101
push edx
call fcn.5908928d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x5904a3fd
mov eax, dword [esp + 0x14]
add esi, ebp
sub eax, ebp
push eax
push esi
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.590b3c80
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push edx
call fcn.590a5940
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 0x22
call fcn.590ac1d0
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.590ac1d0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 0x20
call fcn.590a6240
lea ecx, [esp + 0x70]
mov byte [esp + 0xc4], 0x1e
call fcn.590a0ec0
lea ecx, [esp + 0x44]
mov byte [esp + 0xc4], 0x1d
call fcn.590a6240
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0x1b
call fcn.590a6240
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 0x1a
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], bl
call fcn.590a0ec0
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0xd8]
push eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
push eax
call fcn.5900d630
add esp, 0x18
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0xc4], 0x12
call fcn.590a0ec0
mov ebp, dword [esp + 0xcc]
test esi, esi
jne 0x59049ed5
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5904a4e2
mov edx, dword [esp + 0x38]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5904a4e2
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5904a4e2
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5904a4e2
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x5904a4e2
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 8]
test eax, eax
je 0x5904a5dc
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x5904a4f8
mov dword [eax], 1
jmp 0x5904a5dc
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.59059db0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xa0]
push 1
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push ecx
mov byte [esp + 0xf8], 0x23
call fcn.5900c690
add esp, 0x34
test eax, eax
je 0x5904a5cb
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x5c]
push edi
push esi
push edx
call fcn.5900c480
add esp, 0xc
test eax, eax
je 0x5904a5cb
push 0
lea eax, [esp + 0xb0]
push 0
lea ecx, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push 2
push 1
push ecx
push edi
push esi
call fcn.5900e750
add esp, 0x44
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0x12
call fcn.590a0ec0
lea ecx, [esp + 0xac]
mov byte [esp + 0xc4], 0x11
call fcn.590b3a50
lea ecx, [esp + 0x60]
mov byte [esp + 0xc4], 0x10
call fcn.590a6240
lea ecx, [esp + 0x40]
mov byte [esp + 0xc4], 0xf
call fcn.590a6240
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0xe
call fcn.590a6240
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], 0xd
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], 0xc
call fcn.590a6240
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 0xb
call fcn.590a6240
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], 0xa
call fcn.590a6240
lea ecx, [esp + 0x98]
mov byte [esp + 0xc4], 9
call fcn.590abbd0
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 0
call fcn.590abbd0
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.590a6240
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret