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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
lea ebx, [ebp + 8]
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
call fcn.004a2350
or byte [esi + 8], 8
mov byte [esi + 0x60], al
mov ecx, dword [ebx]
call fcn.004a12c0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
or eax, edx
je 0x4a35ed
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
mov edi, dword [ebx + 4]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4a2d86
mov ecx, dword [edi + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a2d8b
lea edx, [ecx + 1]
mov dword [edi + 0x14], edx
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 8], eax
jmp 0x4a2dc1
mov edx, dword [edi + 0x18]
jmp 0x4a2d90
cmp edx, dword [edi + 0x18]
jne 0x4a2d9f
lea ecx, [edi + 0x10]
inc edx
push edx
call fcn.004552d0
mov eax, dword [edi + 0x1c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [edi + 0x10]
call fcn.0049d4aa
add esp, 4
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
lea edx, [esi + 1]
mov dword [edi + 0x14], edx
mov dword [esp + 8], eax
mov dword [ecx + esi*4 + 4], eax
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.004a1db0
test eax, eax
je 0x4a323f
mov edi, eax
mov eax, dword [esp + 8]
add eax, 0x20
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
test al, 2
jne 0x4a2e14
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
or eax, 2
mov esi, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 8]
mov dword [ecx + 0x4c], edx
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x4a2e32
mov esi, ecx
mov ecx, dword [ecx + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a2e37
lea edx, [ecx + 1]
mov dword [esi + 0x24], edx
mov esi, dword [eax + ecx*4 + 4]
jmp 0x4a2e74
mov edx, dword [ecx + 0x28]
jmp 0x4a2e3e
cmp edx, dword [esi + 0x28]
mov ecx, esi
jne 0x4a2e52
inc edx
mov ecx, dword [esp + 0x38]
push edx
call fcn.004552d0
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [ecx + 0x20]
mov esi, ecx
call fcn.0049d36c
add esp, 4
mov ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x2c]
lea edx, [ebx + 1]
mov dword [esi + 0x24], edx
mov esi, eax
mov dword [ecx + ebx*4 + 4], eax
or byte [esi + 8], 1
mov ecx, dword [esi + 0x20]
cmp ecx, 0x599a98
je 0x4a2e8b
push edi
call fcn.00420c22
jmp 0x4a2e94
lea ecx, [esi + 0x20]
push edi
call fcn.0040836a
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], esi
mov esi, eax
or esi, 4
mov ebx, dword [esp + 0x18]
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x18]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov ecx, dword [edi + 0x34]
mov edx, eax
or edx, 0xc
mov dword [esi + 8], edx
mov dword [esi + 0x30], ecx
cmp byte [edi + 0xa8], 0xe0
mov dword [esp + 0x10], edi
jne 0x4a2f4a
or eax, 0xe
mov dword [esi + 8], eax
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4a2eec
push 0
call fcn.0049d32a
add esp, 4
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0xb0]
mov edx, dword [eax + 8]
mov esi, edx
or esi, 8
mov dword [eax + 8], esi
mov dword [eax + 0x28], ecx
mov ecx, dword [edi + 0x40]
mov esi, dword [edi + 0x44]
mov edi, edx
or edi, 9
mov dword [eax + 8], edi
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x4c]
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x48]
mov edi, edx
or edi, 0xb
mov dword [eax + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
or edx, 0xf
mov dword [eax + 8], edx
mov dword [eax + 0x24], esi
mov esi, dword [esp + 0x18]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x28]
je 0x4a322c
lea eax, [esi + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], 0x7c
xor ebx, ebx
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x4a2f93
mov ecx, dword [esi + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a2f98
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 4], eax
jmp 0x4a2fcf
mov edx, dword [esi + 0x18]
jmp 0x4a2f9d
cmp edx, dword [esi + 0x18]
jne 0x4a2fad
inc edx
mov ecx, dword [esp + 0x3c]
push edx
call fcn.004552d0
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [esi + 0x10]
call fcn.0049d2fa
add esp, 4
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
lea ebx, [ecx + 1]
mov dword [esi + 0x14], ebx
mov dword [esp + 4], eax
mov dword [edx + ecx*4 + 4], eax
mov edx, dword [edi + 0x28]
mov esi, dword [esp + 0xc]
movsd xmm0, qword [edx + esi - 0x7c]
mov eax, dword [esp + 4]
mov edi, dword [eax + 8]
mov ebx, edi
or ebx, 1
mov dword [eax + 8], ebx
movsd qword [eax + 0x20], xmm0
mov ecx, dword [edx + esi - 0x74]
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + esi - 0x70]
mov ecx, edi
or ecx, 0x201
mov dword [eax + 8], ecx
mov dword [eax + 0x64], ebx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x60], ecx
mov ecx, dword [edx + esi - 0x68]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + esi - 0x6c]
mov dword [esp + 0x14], edi
or edi, 0x203
mov dword [eax + 8], edi
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x2c], ecx
mov bl, byte [edx + esi - 0xc]
cmp bl, 0x2f
jg 0x4a3095
cmp bl, 0xf0
je 0x4a30ed
cmp bl, 0x10
je 0x4a3166
cmp bl, 0x20
mov edi, dword [esp + 0x10]
jne 0x4a31d4
mov ebx, dword [esp + 0x14]
mov ecx, ebx
or ecx, 0x223
mov eax, dword [esp + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x48], 2
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + esi - 4]
mov edx, dword [edx + esi]
or ebx, 0x22b
mov dword [eax + 8], ebx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], ecx
jmp 0x4a31d4
cmp bl, 0x30
je 0x4a3130
cmp bl, 0x41
mov edi, dword [esp + 0x10]
je 0x4a31a0
cmp bl, 0x51
jne 0x4a31d4
mov ebx, dword [esp + 0x14]
mov ecx, ebx
or ecx, 0x223
mov eax, dword [esp + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x48], 5
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + esi - 4]
mov edx, dword [edx + esi]
or ebx, 0x323
mov dword [eax + 8], ebx
mov dword [eax + 0x5c], edx
mov dword [eax + 0x58], ecx
jmp 0x4a31d4
mov eax, edx
mov edx, dword [esp + 0x14]
mov ecx, edx
or ecx, 0x223
mov ebx, dword [esp + 4]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x48], 6
mov esi, dword [esp + 0xc]
mov ecx, dword [eax + esi - 4]
mov edi, edx
or edi, 0x263
mov dword [ebx + 8], edi
mov dword [ebx + 0x4c], ecx
mov ecx, dword [eax + esi]
or edx, 0x663
mov dword [ebx + 8], edx
mov dword [ebx + 0x68], ecx
jmp 0x4a319a
mov edi, dword [esp + 0x14]
mov ecx, edi
or ecx, 0x223
mov eax, dword [esp + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x48], 3
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + esi - 4]
mov edx, dword [edx + esi]
or edi, 0x233
mov dword [eax + 8], edi
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], ecx
jmp 0x4a319a
mov edi, dword [esp + 0x14]
mov ecx, edi
or ecx, 0x223
mov eax, dword [esp + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x48], 1
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + esi - 4]
mov edx, dword [edx + esi]
or edi, 0x227
mov dword [eax + 8], edi
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], ecx
mov edi, dword [esp + 0x10]
jmp 0x4a31d4
mov ebx, dword [esp + 0x14]
mov ecx, ebx
or ecx, 0x223
mov eax, dword [esp + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x48], 4
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + esi - 4]
mov edx, dword [edx + esi]
or ebx, 0x2a3
mov dword [eax + 8], ebx
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], ecx
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
sub edx, ecx
sar edx, 2
imul edx, edx, 0xaaaaaaab
mov esi, dword [esp + 0x2c]
cmp esi, edx
mov ebx, dword [esp + 0x30]
jae 0x4a320a
mov edx, dword [esp + 4]
add edx, 0x14
add ecx, ebx
push 0
call 0x4a36ae
add esp, 4
inc esi
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x28]
sar eax, 7
sub dword [esp + 0xc], 0xffffff80
add ebx, 0xc
mov dword [esp + 0x2c], esi
cmp esi, eax
mov esi, dword [esp + 0x18]
jb 0x4a2f6f
mov ecx, dword [esp + 0x28]
call fcn.004a1e80
mov edi, eax
test eax, eax
jne 0x4a2deb
mov ecx, dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.004a1f10
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], ecx
lea ecx, [eax + 4]
mov dword [esp + 0x58], ecx
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
lea edi, [esp + 0x4c]
mov ecx, edi
push eax
push edx
call 0x4a3c44
mov eax, dword [esp + 8]
lea edx, [eax + 0x34]
mov ecx, edi
mov dword [esp + 4], edx
push dword [esp + 0x34]
call 0x4a36ae
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], esi
push str.ptype
call fcn.0052b730
add esp, 4
cmp eax, 0xfffffff0
jae 0x4a36a5
mov ebx, eax
cmp eax, 0xb
jae 0x4a32dc
mov eax, ebx
add al, bl
mov byte [esp + 0x68], al
lea edi, [esp + 0x69]
test ebx, ebx
lea esi, [esp + 0x68]
jne 0x4a3302
jmp 0x4a3311
mov esi, ebx
add esi, 0x10
and esi, 0xfffffff0
push esi
call fcn.00512878
add esp, 4
mov edi, eax
mov dword [esp + 0x70], eax
or esi, 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
lea esi, [esp + 0x68]
push ebx
push str.ptype
push edi
call fcn.005162a0
add esp, 0xc
mov byte [edi + ebx], 0
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x3c]
push 0
push esi
lea eax, [esp + 0x60]
push eax
call fcn.0049e49e
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x60]
test byte [esp + 0x68], 1
je 0x4a334c
push dword [esp + 0x70]
call fcn.005128f8
add esp, 4
test edi, edi
je 0x4a339a
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x28], 7
jne 0x4a339a
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 8]
or dword [ecx + 8], 4
mov dword [ecx + 0x50], eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
sub esp, 0x10
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
mov ecx, dword [esp + 0x14]
call fcn.0049e1c0
mov ecx, dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
call fcn.004a2180
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
cmp ebx, eax
mov ecx, dword [esp + 8]
je 0x4a35c8
lea eax, [ecx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4a33ed
mov esi, ecx
mov ecx, dword [ecx + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a33f2
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov edi, dword [eax + ecx*4 + 4]
jmp 0x4a342f
mov edx, dword [ecx + 0x18]
jmp 0x4a33f9
cmp edx, dword [esi + 0x18]
mov ecx, esi
jne 0x4a340d
inc edx
mov ecx, dword [esp + 0x10]
push edx
call fcn.004552d0
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [ecx + 0x10]
mov esi, ecx
call fcn.0049d1f0
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
lea edx, [eax + 1]
mov dword [esi + 0x14], edx
mov dword [ecx + eax*4 + 4], edi
mov eax, dword [ebx + 4]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov edx, esi
or edx, 0x20
mov dword [edi + 8], edx
mov dword [edi + 0x28], eax
xor edx, edx
mov dword [edi + 0x2c], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
or esi, 0x61
mov dword [edi + 8], esi
lea eax, [ebx + 0x2c]
cmp ecx, 0x599a98
je 0x4a346a
push eax
call fcn.00420c22
jmp 0x4a3473
lea ecx, [edi + 0x10]
push eax
call fcn.0040836a
lea esi, [esp + 0x58]
xor eax, eax
dec eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push dword [ebx + 0x10]
push dword [ebx + 0x14]
push str._08X_zx
push esi
call fcn.00437c00
add esp, 0x10
or byte [edi + 8], 2
mov ecx, dword [edi + 0x14]
cmp ecx, 0x599a98
je 0x4a34b1
push esi
call fcn.00420c22
jmp 0x4a34ba
lea ecx, [edi + 0x14]
push esi
call fcn.0040836a
or byte [edi + 8], 4
lea eax, [ebx + 0x38]
mov ecx, dword [edi + 0x18]
cmp ecx, 0x599a98
je 0x4a34d4
push eax
call fcn.00420c22
jmp 0x4a34dd
lea ecx, [edi + 0x18]
push eax
call fcn.0040836a
xor eax, eax
dec eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
movzx eax, byte [ebx + 0x2b]
mov dword [esp + 0xc], eax
movzx ecx, byte [ebx + 0x2a]
movzx edx, byte [ebx + 0x29]
movzx esi, byte [ebx + 0x28]
movzx eax, byte [ebx + 0x27]
mov dword [esp + 4], eax
movzx eax, byte [ebx + 0x26]
mov dword [esp + 0x30], eax
movzx eax, byte [ebx + 0x25]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0x24]
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 0x22]
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x20]
push dword [ebx + 0x18]
push dword [esp + 0x10]
push ecx
push edx
push esi
push dword [esp + 0x18]
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x34]
push dword [esp + 0x40]
push eax
push dword [ebx + 0x1c]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X_x
lea esi, [esp + 0x9c]
push esi
call fcn.00437c00
add esp, 0x38
or byte [edi + 8], 8
mov ecx, dword [edi + 0x1c]
cmp ecx, 0x599a98
je 0x4a357a
push esi
call fcn.00420c22
jmp 0x4a3583
lea ecx, [edi + 0x1c]
push esi
call fcn.0040836a
mov al, byte [ebx]
or dword [edi + 8], 0x100
xor al, 1
mov byte [edi + 0x40], al
test byte [esp + 0x68], 1
je 0x4a35a4
push dword [esp + 0x70]
call fcn.005128f8
add esp, 4
test byte [esp + 0x58], 1
je 0x4a35b7
push dword [esp + 0x60]
call fcn.005128f8
add esp, 4
add ebx, 0x48
cmp dword [esp + 0x18], ebx
mov ecx, dword [esp + 8]
jne 0x4a33cf
lea ecx, [esp + 0x40]
call fcn.004a3ca0
lea ecx, [esp + 0x4c]
push dword [esp + 0x50]
call fcn.0045a6c0
lea ebx, [ebp + 8]
mov ecx, dword [ebx]
call fcn.004a1d80
jmp 0x4a2d4d
xor eax, eax
dec eax
lea edi, [esp + 0x58]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, dword [ebx]
push edi
call fcn.004a1ff0
mov esi, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 4], eax
cmp esi, eax
je 0x4a367b
mov ebx, dword [ebx + 4]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4a3630
mov ecx, dword [ebx + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x4a3635
lea edx, [ecx + 1]
mov dword [ebx + 0x24], edx
mov ecx, dword [eax + ecx*4 + 4]
jmp 0x4a3669
mov edx, dword [ebx + 0x28]
jmp 0x4a363a
cmp edx, dword [ebx + 0x28]
jne 0x4a3649
lea ecx, [ebx + 0x20]
inc edx
push edx
call fcn.004552d0
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [ebx + 0x20]
call fcn.00455496
add esp, 4
mov ecx, eax
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x2c]
lea edi, [eax + 1]
mov dword [ebx + 0x24], edi
mov dword [edx + eax*4 + 4], ecx
push esi
call fcn.00420c22
add esi, 0xc
cmp dword [esp + 4], esi
lea ebx, [ebp + 8]
jne 0x4a3611
lea ecx, [esp + 0x58]
call fcn.00401c40
mov ecx, ebx
push 0
call fcn.0046bc12
xor esi, esi
inc esi
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00512931
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x68]
call fcn.00420a88
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [esp + 0x58], eax
mov esi, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp esi, ecx
je 0x4a3c28
mov edi, edx
mov eax, dword [ebp + 8]
add eax, 0x34
mov dword [esp + 0x10], eax
lea ebx, [esp + 0x30]
mov dword [esp + 0xc], edx
lea eax, [esi + 0x10]
mov dword [esp + 8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, ebx
call fcn.00498446
mov al, byte [esi + 0x20]
dec al
cmp al, 7
ja case.default.0x4a371b
lea ecx, [esi + 0x20]
movzx eax, al
jmp dword [eax*4 + 0x551c1c]
xor eax, eax
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
call fcn.004584f0
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 1
je 0x4a3763
lea ecx, [esp + 0x30]
call fcn.0049840a
mov dword [esp + 0x48], 1
mov dword [esp + 0x40], 0x599a98
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
cmp ebx, 0xfffffff0
jae 0x4a3c3b
cmp ebx, 0xb
jae 0x4a3b26
mov eax, ebx
add al, bl
mov byte [esp + 0x20], al
lea eax, [esp + 0x21]
test ebx, ebx
jne 0x4a3b44
jmp 0x4a3b5a
call fcn.0040f430
mov ebx, eax
cmp dword [esp + 0x48], 5
je 0x4a37c3
lea ecx, [esp + 0x30]
call fcn.0049840a
mov dword [esp + 0x48], 5
mov dword [esp + 0x40], 0x599a98
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 2
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0
jmp 0x4a3b5e
xor eax, eax
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
call fcn.004584f0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 3
je 0x4a3821
lea ecx, [esp + 0x30]
call fcn.0049840a
mov dword [esp + 0x48], 3
mov dword [esp + 0x40], 0x599a98
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
cmp ebx, 0xfffffff0
jae 0x4a3c3b
cmp ebx, 0xb
jae 0x4a3966
mov eax, ebx
add al, bl
mov byte [esp + 0x20], al
lea eax, [esp + 0x21]
test ebx, ebx
jne 0x4a398c
jmp 0x4a399b
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call fcn.00458540
cmp dword [esp + 0x48], 4
je 0x4a38d8
mov ecx, ebx
call fcn.0049840a
mov dword [esp + 0x48], 4
jmp 0x4a3afd
call fcn.00458530
mov edi, eax
mov ebx, edx
cmp dword [esp + 0x48], 8
je 0x4a38ab
lea ecx, [esp + 0x30]
call fcn.0049840a
mov dword [esp + 0x48], 8
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
jmp 0x4a3ae5
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call fcn.00458540
cmp dword [esp + 0x48], 2
jne 0x4a3aee
mov eax, dword [esp + 0x40]
jmp 0x4a3b0b
call fcn.00458520
mov ebx, eax
cmp dword [esp + 0x48], 6
je 0x4a3900
lea ecx, [esp + 0x30]
call fcn.0049840a
mov dword [esp + 0x48], 6
mov byte [esp + 0x40], bl
jmp 0x4a3b84
call fcn.00458530
mov edi, eax
mov ebx, edx
cmp dword [esp + 0x48], 7
je 0x4a392a
lea ecx, [esp + 0x30]
call fcn.0049840a
mov dword [esp + 0x48], 7
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
cmp dword [ebp + 8], 0
mov edi, dword [esp + 0xc]
lea ebx, [esp + 0x30]
je case.default.0x4a371b
push str.start_timestamp
call fcn.0052b730
add esp, 4
movzx ecx, byte [esi + 0x10]
test cl, 1
je 0x4a3bfe
mov ecx, dword [esi + 0x14]
jmp 0x4a3c00
mov dword [esp + 4], edi
lea edi, [ebx + 0x10]
and edi, 0xfffffff0
push edi
call fcn.00512878
add esp, 4
mov dword [esp + 0x28], eax
or edi, 1
mov dword [esp + 0x20], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x24], ebx
push ebx
push edi
push eax
mov edi, eax
call fcn.005162a0
mov eax, edi
add esp, 0xc
mov byte [eax + ebx], 0
lea ecx, [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push 0x599a98
call fcn.004082e4
test byte [esp + 0x20], 1
je 0x4a39c5
push dword [esp + 0x28]
call fcn.005128f8
add esp, 4
cmp dword [ebp + 8], 0
je 0x4a3ae5
push str.product
call fcn.0052b730
add esp, 4
movzx ecx, byte [esi + 0x10]
mov ebx, ecx
shr ebx, 1
and cl, 1
mov dword [esp + 4], ecx
mov edi, dword [esi + 0x14]
mov ecx, edi
cmove ecx, ebx
cmp eax, ecx
jne 0x4a3a23
mov ecx, dword [esp + 8]
push eax
push str.product
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
je 0x4a3bdb
movzx ebx, byte [esi + 0x10]
mov edi, dword [esi + 0x14]
mov eax, ebx
and al, 1
mov dword [esp + 4], eax
shr ebx, 1
push str.channel
call fcn.0052b730
add esp, 4
cmp byte [esp + 4], 0
mov ecx, edi
cmove ecx, ebx
cmp eax, ecx
jne 0x4a3a6a
mov ecx, dword [esp + 8]
push eax
push str.channel
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
je 0x4a3bdb
movzx ebx, byte [esi + 0x10]
mov edi, dword [esi + 0x14]
mov eax, ebx
and al, 1
mov dword [esp + 4], eax
shr ebx, 1
push str.platform
call fcn.0052b730
add esp, 4
cmp byte [esp + 4], 0
mov ecx, edi
cmove ecx, ebx
cmp eax, ecx
jne 0x4a3ab1
mov ecx, dword [esp + 8]
push eax
push str.platform
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
je 0x4a3bdb
movzx ebx, byte [esi + 0x10]
mov edi, dword [esi + 0x14]
mov eax, ebx
and al, 1
mov dword [esp + 4], eax
shr ebx, 1
push str.version
call fcn.0052b730
add esp, 4
cmp byte [esp + 4], 0
cmovne ebx, edi
cmp eax, ebx
jne 0x4a3ae5
mov ecx, dword [esp + 8]
push eax
push str.version
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
je 0x4a3bdb
mov edi, dword [esp + 0xc]
jmp 0x4a3b84
mov ecx, ebx
call fcn.0049840a
mov dword [esp + 0x48], 2
push 0
call fcn.0049d220
add esp, 4
mov dword [esp + 0x40], eax
movd xmm0, dword [esp + 0x24]
movd xmm1, dword [esp + 0x20]
punpcklqdq xmm1, xmm0
or dword [eax + 8], 3
movdqu xmmword [eax + 0x10], xmm1
jmp case.default.0x4a371b
lea edi, [ebx + 0x10]
and edi, 0xfffffff0
push edi
call fcn.00512878
add esp, 4
mov dword [esp + 0x28], eax
or edi, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
push ebx
push dword [esp + 8]
push eax
mov edi, eax
call fcn.005162a0
mov eax, edi
mov edi, dword [esp + 0x18]
add esp, 0xc
mov byte [eax + ebx], 0
lea ecx, [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push 0x599a98
call fcn.004082e4
test byte [esp + 0x20], 1
je 0x4a3b84
push dword [esp + 0x28]
call fcn.005128f8
add esp, 4
lea ebx, [esp + 0x30]
mov ecx, edi
push dword [esp + 8]
call fcn.0049eaec
cmp ebx, eax
je 0x4a3b9f
mov ecx, eax
push ebx
call fcn.00498ba0
mov ecx, ebx
call fcn.00498480
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4a3bb7
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4a3bad
jmp 0x4a3bcd
mov eax, dword [esi + 8]
cmp dword [eax], esi
je 0x4a3bcd
add esi, 8
mov ecx, dword [esi]
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x4a3bc1
mov esi, eax
cmp eax, dword [esp + 0x14]
jne 0x4a36ea
jmp 0x4a3c28
mov ecx, dword [esp + 0x10]
push dword [esp + 8]
call fcn.0049eaec
lea ebx, [esp + 0x30]
cmp ebx, eax
je 0x4a3bf8
mov ecx, eax
push ebx
call fcn.00498ba0
mov edi, dword [esp + 0xc]
jmp 0x4a3b9f
shr ecx, 1
cmp eax, ecx
jne case.default.0x4a371b
mov ecx, dword [esp + 8]
push eax
push str.start_timestamp
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
jne case.default.0x4a371b
mov ecx, dword [esp + 0x10]
jmp 0x4a3b8a
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00512931
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.00420a88
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x18], ecx
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp eax, ebx
je 0x4a3c8c
lea edi, [ebp + 8]
mov ecx, dword [ebp - 0x18]
lea esi, [ecx + 4]
add eax, 0x10
mov ecx, dword [ebp - 0x18]
push eax
push eax
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.004a28a0
mov ecx, edi
call fcn.00408c8a
mov eax, dword [edi]
cmp eax, ebx
jne 0x4a3c6d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512931
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8