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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 2
je 0x40ab7f
cmp dword [ebp - 0x1c], 2
ja 0x40ad1e
cmp dword [ebp - 0x1c], 0
je 0x40a9fe
cmp dword [ebp - 0x1c], 1
je 0x40ad24
jmp 0x40ad1e
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
fld qword [0x58fc60]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], 0x96
fld1
fstp qword [esp + 0x78]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 8
fld qword [0x58fc58]
fstp qword [esp + 0x68]
fld qword [0x58fc38]
fstp qword [esp + 0x60]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], edx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x58], ecx
mov edi, dword [ebp - 0x34]
mov dword [esp + 0x54], edi
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x50], edx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x44], 0x34
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 7
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x38], edx
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 1
mov edi, dword [ebp - 0x4c]
mov dword [esp + 0x2c], edi
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 1
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x20], ecx
mov edi, dword [ebp - 0x58]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
fld qword [0x58fc58]
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x40ad1f
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
fld qword [0x58fc60]
fstp qword [esp + 0x9c]
mov dword [esp + 0x98], 0x94ea80
fld qword [0x58fc68]
fstp qword [esp + 0x90]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 4
mov dword [esp + 0x84], ecx
fld qword [0x58fc48]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 3
mov dword [esp + 0x70], 0
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x6c], edx
fld qword [0x58fc68]
fstp qword [esp + 0x64]
fld qword [0x58fc60]
fstp qword [esp + 0x5c]
mov dword [esp + 0x58], 8
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x54], ecx
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], 0x94f680
mov dword [esp + 0x48], 6
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], 0x94d280
mov dword [esp + 0x3c], 8
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x38], ecx
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x34], ebx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x30], edx
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0x2c], ecx
mov ebx, dword [ebp - 0x4c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 3
fld qword [0x58fc50]
fstp qword [esp + 0x18]
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x10], ecx
mov ebx, dword [ebp - 0x58]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._UploadFileToServer
mov dword [ebp - 0x1c], 0
jmp 0x40ad1f
nop
jmp 0x40a9d5
nop
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret