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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x588
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x40]
mov dword [esp], edx
call fcn.0050a948
lea edx, [esp + 0x47c]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x24]
lea esi, [esp + 0xd0]
and dword [edx + 0x10], 0
and dword [edx], 0
and dword [edx + 8], 0
mov ecx, esi
push eax
mov dword [esp + 0x3c], edi
push edi
call fcn.00513b41
pop eax
pop ecx
cmp dword [esi], 2
jne 0x509b19
mov bl, byte [esp + 0xd4]
jmp 0x509c1a
lea esi, [esp + 0xec]
mov eax, dword [esi - 0x1c]
movsd xmm0, qword [esi - 0x17]
mov bl, byte [esi - 0x18]
mov dword [esp + 8], eax
mov eax, dword [esi - 8]
movsd qword [esp + 0x198], xmm0
movsd xmm0, qword [esi - 0x10]
mov dword [esp + 4], eax
mov eax, dword [esi - 4]
movsd qword [esp + 0x19f], xmm0
mov dword [esp + 0xc], eax
push 0xb
pop ecx
lea edi, [esp + 0x47c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd0]
call fcn.00517480
test eax, eax
je 0x509c0b
movsd xmm1, qword [esp + 0x19f]
mov esi, dword [esp + 4]
movsd xmm0, qword [esp + 0x198]
lea edi, [esp + 0x68]
movsd qword [esp + 0x26f], xmm1
movsd qword [esp + 0x268], xmm0
push 0x2c
lea eax, [esp + 0x480]
push eax
push edi
call fcn.00570e70
add esp, 0xc
cmp dword [esp + 8], 2
je 0x509c1a
movsd xmm0, qword [esp + 0x268]
movsd xmm1, qword [esp + 0x26f]
mov eax, dword [esp + 0xc]
mov ecx, edi
lea edi, [esp + 0x2d0]
movsd qword [edi - 0x10], xmm1
movsd qword [edi - 0x17], xmm0
mov dword [edi - 8], esi
mov dword [edi - 4], eax
push 0x2c
push ecx
push edi
call fcn.00570e70
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [edi - 0x1c], eax
mov byte [edi - 0x18], bl
mov dword [edi - 0x20], 3
jmp 0x509c91
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
call fcn.0044c034
xor ebx, ebx
xor ecx, ecx
lea edx, [esp + 0x47c]
lea eax, [esp + 0x68]
lea esi, [esp + 0x11c]
lea edi, [esp + 0x198]
inc ecx
mov dword [edx], str.failed_to_parse_URL:
mov dword [eax], edi
mov byte [edi], bl
mov dword [eax + 4], 0x5093d4
mov dword [edx + 4], ecx
and dword [edx + 0x10], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004ba4b9
push 2
pop eax
mov dword [esi - 0x48], eax
and dword [esi + 0xc], 0
mov byte [esi + 0x14], 0
mov dword [esi - 0x4c], eax
movzx eax, byte [edi]
lea esi, [esp + 0x2b0]
lea edx, [esp + 0xd0]
mov ecx, esi
push eax
call fcn.005093fa
pop eax
mov ebx, dword [esi]
cmp ebx, 3
jne 0x50a487
lea esi, [esp + 0x2b4]
push 0x12
pop edx
lea eax, [esp + 0x378]
mov ebx, dword [ebp + 8]
mov ecx, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [esp + 0x53c]
mov ecx, edx
lea eax, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x38]
movsd xmm0, qword [ebx + 0x30]
mov edx, dword [ebx + 0x10]
mov dword [eax - 0x44], ecx
movsd qword [eax - 0x4c], xmm0
mov eax, dword [esp]
mov ecx, dword [ebx + 0x20]
mov edi, dword [eax + 0x18]
lea eax, [ebx + 0x10]
mov dword [esp], ecx
lea ecx, [esp + 0x1e8]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
lea edi, [esp + 0xec]
push edi
lea esi, [esp + 0x55c]
push esi
push dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x40], eax
push eax
push dword [ebx + 0x14]
call fcn.0050aa3c
add esp, 0x30
lea ecx, [esp + 0x28]
movsd xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
lea eax, [esp + 0xb8]
mov dword [esp + 0x10], 0
mov dword [ecx], 4
and dword [ecx + 4], 0
and dword [ecx + 8], 0
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
push 0x14
pop ebx
lea eax, [esp + 0xb8]
mov ecx, edi
mov edx, esi
push eax
push 1
call fcn.0050ae20
pop eax
pop ecx
mov eax, dword [esp + 0xd0]
mov ecx, ebx
lea edi, [esp + 0x68]
lea esi, [esp + 0xd8]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x12c]
mov bl, byte [esp + 0x130]
push 0x63
lea eax, [esp + 0x135]
push eax
lea eax, [esp + 0x2b8]
push eax
call fcn.00570e70
mov eax, dword [esp + 0xc]
add esp, 0xc
cmp eax, 3
jne 0x50a563
mov eax, dword [esp + 4]
mov dword [esp + 0x378], eax
push 0x14
pop ecx
mov edx, edi
mov eax, esi
lea edi, [esp + 0x37c]
lea esi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3cc], eax
mov dword [esp + 0x3d0], edx
mov byte [esp + 0x3d4], bl
push 0x63
lea eax, [esp + 0x2b4]
push eax
lea eax, [esp + 0x3dd]
push eax
call fcn.00570e70
add esp, 0xc
movzx ebx, word [esp + 0x434]
lea eax, [ebx - 0x12c]
cmp ax, 0x63
jae 0x50a4d5
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x50a4d5
mov edx, dword [esp + 0x10]
inc edx
cmp edx, ecx
jae 0x50a59e
mov edx, dword [esp + 0x414]
mov ecx, dword [esp + 0x40c]
push 8
push 0x63144c
call fcn.0050c6f9
pop ecx
pop ecx
mov esi, edx
test eax, eax
lea edx, [esp + 0x68]
je 0x50a4d5
and dword [esp + 0xd0], 0
and dword [esp + 0xd8], 0
lea ecx, [esp + 0x1e8]
lea edi, [esp + 0xd0]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xe0], ecx
mov ecx, edx
mov edx, edi
push esi
push eax
call fcn.00513b41
pop eax
pop ecx
cmp dword [esp + 0x68], 2
jne 0x509f79
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x6c]
mov dword [esp + str.Bad_redirection:], 0x631554
lea ecx, [esp + 0x60]
lea edx, [esp + 0x198]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x64], fcn.00417b33
inc eax
mov dword [esp + 0x19c], eax
and dword [esp + 0x1a8], 0
mov dword [esp + 0x1a0], ecx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x1a4], eax
call fcn.004ba4b9
push 2
pop eax
mov dword [esp + 0xd4], eax
and dword [esp + 0x128], 0
mov byte [esp + 0x130], 0
mov dword [esp + 0xd0], eax
lea ecx, [esp + 0x2b0]
mov edx, edi
push esi
call fcn.005093fa
pop eax
mov eax, dword [esp + 0x2b0]
cmp eax, 3
je 0x509f89
jmp 0x50a641
push 0x12
pop ecx
lea edi, [esp + 0x2b4]
lea esi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2b4]
push 0x11
pop edx
mov ecx, edx
lea edi, [esp + 0x438]
lea esi, [esp + 0x2b8]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x268], eax
mov ecx, edx
lea edi, [esp + 0x26c]
lea esi, [esp + 0x438]
lea eax, [ebx - 0x12d]
rep movsd dword es:[edi], dword [esi]
cmp eax, 3
jae 0x50a023
mov ebx, dword [esp + 0x248]
mov esi, dword [esp + 0x250]
mov ecx, ebx
mov edx, esi
push 3
push str.GETHEADPUTDELETEureq_2.10.0
call fcn.004154e3
pop ecx
pop edx
test al, al
jne 0x50a007
mov ecx, ebx
mov edx, esi
push 4
push 0x62fdb3
call fcn.004154e3
pop ecx
pop edx
test al, al
je 0x50a0ab
mov eax, dword [esp + 0x24c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
jmp 0x50a0ce
cmp ebx, 0x133
je 0x50a067
cmp ebx, 0x134
lea edi, [esp + 0xd0]
lea esi, [esp + 0x1e8]
jne 0x50a60c
mov ebx, dword [esp + 0x248]
mov edx, dword [esp + 0x250]
mov ecx, ebx
mov dword [esp + 0x14], edx
call fcn.00507b92
test al, al
jne 0x50a096
jmp 0x50a60c
mov ebx, dword [esp + 0x248]
mov edx, dword [esp + 0x250]
mov ecx, ebx
mov dword [esp + 0x14], edx
call fcn.00507b92
test al, al
lea edi, [esp + 0xd0]
lea esi, [esp + 0x1e8]
je 0x50a60c
mov eax, dword [esp + 0x24c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
jmp 0x50a0dc
push 3
pop esi
mov ecx, esi
call fcn.004fda03
mov ebx, eax
mov word [eax], 0x4547
mov byte [eax + 2], 0x54
mov al, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
lea edi, [esp + 0xd0]
lea esi, [esp + 0x1e8]
mov eax, dword [esp + 0x240]
mov dword [esp + 0xc], ebx
cmp byte [eax + 0x8e], 0
je 0x50a161
mov ebx, dword [esp + 0x3c]
lea edi, [esp + 0x268]
mov ecx, edi
call fcn.00517480
mov ecx, edi
mov esi, eax
mov dword [esp + 4], edx
call fcn.0050c709
mov ecx, ebx
mov byte [esp], al
call fcn.00517480
mov ecx, ebx
mov edi, eax
mov dword [esp + 8], edx
call fcn.0050c709
mov ebx, eax
mov eax, esi
or eax, edi
sete al
test esi, esi
je 0x50a149
test edi, edi
je 0x50a149
mov edx, dword [esp + 4]
mov ecx, esi
push dword [esp + 8]
push edi
call fcn.00418dbd
pop ecx
pop edx
xor bl, 1
lea edi, [esp + 0xd0]
lea esi, [esp + 0x1e8]
or bl, byte [esp]
and bl, al
jmp 0x50a163
xor ebx, ebx
mov byte [esp + 0x438], bl
mov eax, dword [0x64fd94]
cmp eax, 3
jbe 0x50a22b
movzx eax, word [esp + 0x434]
mov dword [esp + str.redirect], 0x6314e4
mov word [esp + 0x198], ax
lea eax, [esp + 0x198]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xd4], fcn.0043e430
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x268]
mov dword [esp + 0xdc], 0x5001c1
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 0x5007f4
push 3
pop eax
mov dword [esp + 0x2b4], eax
and dword [esp + 0x2c0], 0
mov dword [esp + 0x2b8], edi
mov dword [esp + 0x2bc], eax
mov eax, str.ureq::unit
mov dword [esp + 0x68], eax
push 0xa
pop ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x2b0]
lea edx, [esp + 0x68]
mov dword [esp + 0x78], 0x631508
call fcn.00500acd
push 0x12
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x2c]
jne 0x50a249
lea ecx, [esp + 0x28]
mov edx, eax
call fcn.00503dea
mov eax, dword [esp + 0x30]
imul edi, eax, 0x48
add edi, dword [esp + 0x28]
push 0x12
pop ecx
lea edx, [esp + 0xd0]
inc eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
and dword [esp + 0xd0], 0
call fcn.0050a948
lea eax, [esp + 0x1e8]
mov dword [esp + 4], 0
mov ecx, dword [eax + 0x74]
movsd xmm0, qword [eax + 0x6c]
lea eax, [esp + 0x438]
mov dword [esp + 0x2b0], eax
lea eax, [esp + 0x68]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x70], ecx
movsd qword [esp + 0x68], xmm0
and dword [esp + 0x70], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xdc], ecx
push 0xfffffffffffffff0
pop esi
xor ebx, ebx
mov edi, dword [esp + 8]
cmp edi, ebx
je 0x50a309
mov edi, dword [esp + 0x68]
lea ecx, [esp + 0x2b0]
lea edx, [esi + edi + 0x10]
call fcn.00507bf7
inc ebx
add esi, 0x10
test al, al
jne 0x50a2ca
mov ecx, dword [edi + esi]
mov edx, dword [edi + esi + 4]
call fcn.0044c034
mov edi, dword [esp + 8]
xor eax, eax
mov edx, ebx
inc eax
mov dword [esp + 4], eax
jmp 0x50a30b
mov edx, edi
push 0x14
pop ebx
sub edi, edx
shl edx, 4
sub edi, 1
jb 0x50a376
mov ebx, dword [esp + 0x68]
mov dword [esp], edi
lea ecx, [esp + 0x2b0]
mov edi, edx
lea esi, [ebx + edx]
mov edx, esi
call fcn.00507bf7
test al, al
je 0x50a359
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x68]
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
shl ecx, 4
sub eax, ecx
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
jmp 0x50a369
mov ecx, dword [ebx + edi]
mov edx, dword [ebx + edi + 4]
inc dword [esp + 4]
call fcn.0044c034
push 0x14
pop ebx
mov edx, edi
mov edi, dword [esp]
add edx, 0x10
jmp 0x50a313
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea esi, [esp + 0xd0]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], ecx
mov ecx, esi
call fcn.004ffdcc
mov eax, dword [esp + 0x70]
movsd xmm0, qword [esp + 0x68]
mov edx, dword [esp + 0x240]
mov ecx, esi
mov dword [esp + 0x2b8], eax
movsd qword [esp + 0x2b0], xmm0
push dword [esp + 0x238]
push dword [esp + 0x238]
push dword [esp + 0x238]
push dword [esp + 0xd0]
push dword [esp + 0xd0]
push dword [esp + 0xd0]
push dword [esp + 0xd0]
lea eax, [esp + 0x2cc]
push eax
lea eax, [esp + 0x288]
push eax
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x270]
call fcn.0050aa3c
add esp, 0x30
lea ecx, [esp + 0x240]
call fcn.0050a8d5
cmp byte [esp + 0x20], 0
je 0x50a43b
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
call fcn.0044c034
push 0x20
pop ecx
lea edx, [esp + 0x1e8]
lea eax, [esp + 0xd0]
mov edi, edx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, edx
mov edi, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
call fcn.0044c034
mov ecx, dword [esp + 0x27c]
mov edx, dword [esp + 0x280]
call fcn.0044c034
lea ecx, [esp + 0x378]
call fcn.00500808
jmp 0x509d71
lea esi, [esp + 0x2b4]
push 0x12
pop ecx
lea edx, [esp + 0x378]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x2fc]
mov eax, dword [esp + 0x1c]
lea edi, [eax + 0x4c]
push 0x1e
pop ecx
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 4]
push 0x12
pop ecx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [eax], ebx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
call fcn.0050086e
mov ecx, dword [ebp + 8]
call fcn.0050a919
jmp 0x50a8cd
push 0xc0
lea eax, [esp + 0x37c]
push eax
lea eax, [esp + 0x484]
push eax
call fcn.00570e70
add esp, 0xc
lea esi, [esp + 0x524]
mov ecx, esi
call fcn.00500890
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov eax, dword [esi - 0xa8]
mov dword [esp + 4], eax
lea eax, [esp + 0x480]
push 0x14
pop ecx
lea edi, [esp + 0x198]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov al, byte [eax + 0x58]
mov byte [esp + 8], al
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x4d9]
push 0x63
push eax
lea esi, [esp + 0xd8]
push esi
call fcn.00570e70
add esp, 0xc
push 3
pop ebx
jmp 0x50a6ce
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
push 0x14
pop ecx
lea edi, [esp + 0x198]
lea esi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x63
lea eax, [esp + 0x2b4]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00570e70
add esp, 0xc
mov byte [esp + 8], bl
jmp 0x50a6be
lea edx, [esp + 0x2b0]
add eax, 0x88
lea ecx, [esp + 0x114]
mov dword [edx], 0x631530
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x6c], fcn.004379c0
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
call fcn.004ba4b9
push 0x14
pop ecx
lea edi, [esp + 0x198]
lea esi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xc], 0
mov byte [esp + 8], 5
push 2
pop edi
mov dword [esp], edi
jmp 0x50a6ae
push 0xc0
lea eax, [esp + 0x37c]
push eax
lea eax, [esp + 0x484]
push eax
call fcn.00570e70
add esp, 0xc
mov ecx, dword [esp + 0x27c]
mov edx, dword [esp + 0x280]
call fcn.0044c034
jmp 0x50a4f2
mov dword [esp], eax
lea eax, [esp + 0x311]
mov ebx, dword [eax - 0x5d]
push 0x11
pop ecx
lea edi, [esp + 0x438]
lea esi, [esp + 0x2b8]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x198]
mov ecx, dword [eax - 0xd]
movsd xmm0, qword [eax - 0x15]
mov edx, dword [eax - 5]
mov dword [edi + 0x4c], ecx
mov cl, byte [eax - 1]
movsd qword [edi + 0x44], xmm0
mov dword [esp + 0x10], edx
mov byte [esp + 8], cl
mov ecx, dword [eax - 9]
mov dword [esp + 0xc], ecx
push 0x63
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00570e70
add esp, 0xc
push 0x11
pop ecx
lea esi, [esp + 0x438]
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
lea ecx, [esp + 0x378]
call fcn.00500808
mov dword [esp + 4], edi
lea ecx, [esp + 0x28]
call fcn.00500890
mov edi, dword [esp + 0x10]
mov ebx, dword [esp]
lea ecx, [esp + 0x1e8]
call fcn.0050c71f
mov ecx, dword [esp + 0x550]
mov edx, dword [esp + 0x554]
cmp ebx, 3
jne 0x50a752
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 4]
mov dword [esp], ecx
mov dword [ebx + 4], eax
mov eax, edi
lea edi, [ebx + 8]
push 0x14
pop ecx
lea esi, [esp + 0x198]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], eax
mov al, byte [esp + 8]
mov byte [ebx + 0x60], al
lea eax, [ebx + 0x61]
push 0x63
lea ecx, [esp + 0xd4]
push ecx
push eax
mov esi, edx
call fcn.00570e70
add esp, 0xc
mov ecx, dword [esp]
mov edx, esi
mov dword [ebx], 3
call fcn.0044c034
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
jmp 0x50a8ad
cmp ebx, 2
mov dword [esp + 0x10], edi
mov dword [esp], ebx
jne 0x50a7fa
mov eax, dword [esp + 4]
lea ebx, [esp + 0x2b4]
mov dword [ebx - 4], eax
push 0x14
pop ecx
lea esi, [esp + 0x198]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ch, byte [esp + 8]
movzx edx, word [esp + 0xd0]
mov cl, byte [esp + 0xd2]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edi
lea edi, [esp + 0x2b0]
mov byte [ebx + 0x58], ch
mov word [ebx + 0x59], dx
mov byte [ebx + 0x5b], cl
push edi
call fcn.0050038a
pop eax
push 0x12
pop ecx
lea esi, [esp + 0x53c]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x378]
mov eax, dword [ebx - 4]
push 0x14
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0xd2]
movzx edx, word [esp + 0xd0]
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x47e], al
mov word [esp + 0x47c], dx
jmp 0x50a852
mov ebx, ecx
push 0x14
pop ecx
lea edi, [esp + 0x378]
lea esi, [esp + 0x198]
lea eax, [esp + 0xd3]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax - 1]
movzx edi, word [eax - 3]
mov byte [esp + 0x47e], cl
mov word [esp + 0x47c], di
push 0x60
push eax
lea eax, [esp + 0x2b8]
push eax
mov esi, edx
call fcn.00570e70
add esp, 0xc
mov ecx, ebx
mov edx, esi
call fcn.0044c034
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp]
lea edi, [edx + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
push 0x14
pop ecx
lea esi, [esp + 0x378]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x47e]
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [edx + 0x5c], eax
mov al, byte [esp + 8]
mov byte [edx + 0x60], al
movzx eax, word [esp + 0x47c]
mov byte [edx + 0x63], cl
mov word [edx + 0x61], ax
add edx, 0x64
push 0x18
pop ecx
lea esi, [esp + 0x2b0]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
call fcn.0050a8d5
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [esi + 0x1c]
call fcn.0044c034
mov edx, dword [esi + 0x28]
mov ecx, edi
call fcn.0044c034
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret