Function at 0x5032c8
Capabilities:
Encode data using base64

Disassembly:
push 0x90
mov eax, 0x6d1c18
call fcn.00401167
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
and dword [ebx], 0xff000000
mov byte [ebp - 0x21], al
mov byte [ebp - 0x22], al
mov byte [ebx + 3], 0x8c
mov dword [ebx + 4], eax
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x44], 0x55
mov dword [ebp - 0x3c], 0x3c
push ebx
push esi
mov ecx, edi
call fcn.00502ff9
test al, al
jne 0x503351
test byte [edi + 0x20], 0x20
jne 0x503351
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
and dword [ebp - 0x5c], 0
push ecx
push 1
push 0x259
push 1
push 0xfffffd
push dword [edi + 0x18]
mov ecx, edi
mov dword [ebp - 0x58], 0xfffffe
call dword [eax]
push 0x30
pop eax
or dword [edi + 0x20], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
movzx edx, word [ecx]
lea esi, [ecx + 2]
movzx eax, dx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], esi
cmp eax, 0x4d
ja 0x5040fa
je case.0x50411e.78
cmp eax, 0x4c
ja case.0x50411e.96
movzx eax, byte [eax + 0x504450]
jmp dword [eax*4 + 0x5043e0]
and dword [ebx + 8], 0
mov esi, ecx
mov dword [ebp - 0x18], esi
mov byte [ebx + 3], 0x8a
jmp case.0x503385.11
movzx eax, word [esi]
mov ecx, esi
cmp eax, 0x20
je 0x5033aa
cmp eax, 9
jne case.0x503385.11
lea esi, [ecx + 2]
mov dword [ebp - 0x18], esi
jmp case.0x503385.9
push 0xa
pop eax
cmp word [esi], ax
jne case.0x503385.10
add esi, 2
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x18]
cmp byte [ebx + 3], 0x8c
je 0x503312
and dword [edi + 0x20], 0xfffffffd
test byte [edi + 0x20], 8
mov dword [edi + 0x10], esi
jne 0x5033fd
movzx eax, byte [ebx + 3]
shl eax, 4
mov eax, dword [eax + 0x485d44]
shr eax, 7
not eax
xor eax, dword [edi + 0x20]
and eax, 8
xor dword [edi + 0x20], eax
movzx eax, byte [ebx + 3]
call fcn.004026a3
ret 4
mov eax, dword [edi]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test al, al
jne 0x5033c8
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
push eax
push dword [ebp - 0x20]
mov ecx, edi
push ebx
call fcn.00504582
jmp 0x5033c8
mov dword [ebp - 0x38], edi
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
jmp 0x5034b2
movzx edx, ax
lea esi, [ecx + 2]
push 0x5c
pop eax
mov dword [ebp - 0x18], esi
cmp dx, ax
jne 0x503493
movzx esi, word [esi]
lea eax, [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00503206
mov ecx, esi
movzx edx, ax
call fcn.00504682
test eax, eax
je 0x50347e
mov ecx, dword [ebp - 0x18]
sub ecx, 2
mov dword [ebp - 0x18], ecx
jmp 0x5034af
push edx
lea ecx, [edi + 0x24]
call fcn.005665a8
cmp word [ebp - 0x1c], 0
je 0x5034ac
push dword [ebp - 0x1c]
jmp 0x5034a4
mov ecx, edx
call fcn.00504682
test eax, eax
jne 0x5034bc
test dx, dx
je 0x5034bc
push edx
lea ecx, [edi + 0x24]
call fcn.005665a8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
movzx eax, word [ecx]
cmp ax, dx
je 0x5034f0
jmp 0x50343e
mov ecx, dword [ebp - 0x20]
lea edx, [esi - 2]
sub ecx, dword [edi + 0x14]
mov eax, dword [edi]
push 0
push 0
mov dword [ebp - 0x18], edx
sub edx, dword [ebp - 0x20]
push 0x241
sar edx, 1
sar ecx, 1
push edx
push ecx
push dword [edi + 0x18]
mov ecx, edi
call dword [eax]
or dword [ebx + 4], 0x20000000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 4]
test eax, 0x20000000
jne 0x503500
add ecx, 2
mov dword [ebp - 0x18], ecx
lea esi, [edi + 0x24]
cmp dx, 0x27
jne 0x50355a
mov eax, dword [esi]
mov edx, dword [eax - 0xc]
cmp edx, 1
je 0x503538
xor eax, eax
test edx, edx
setne al
add eax, 0x242
push eax
mov eax, dword [ebp - 0x20]
sub ecx, eax
sub eax, dword [edi + 0x14]
sar ecx, 1
push ecx
sar eax, 1
mov ecx, edi
push eax
push dword [edi + 0x18]
call fcn.005045d9
push 0x55
pop eax
mov ecx, esi
mov byte [ebx + 3], al
call fcn.0056661a
mov ax, word [eax]
mov word [ebx + 8], ax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
sar eax, 1
mov word [ebx + 0xa], ax
jmp 0x5035bb
or eax, 0x10000000
mov byte [ebx + 3], 0x53
mov dword [ebx + 4], eax
mov ecx, edi
mov eax, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 0xc]
push eax
push ebx
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [ebx + 8], eax
sar ecx, 1
mov dword [eax], ecx
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
lea eax, [ecx + 0xc]
mov dword [ecx + 8], eax
mov ecx, esi
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
add eax, eax
push eax
call fcn.0056661a
push eax
mov eax, dword [ebx + 8]
push dword [eax + 8]
call fcn.00435014
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0053321e
jmp 0x5033c8
movzx eax, word [esi]
push 0x2a
pop edx
cmp ax, dx
je 0x503723
push 0x2f
pop ecx
cmp ax, cx
je 0x50360c
push 0x3d
pop ecx
cmp ax, cx
je 0x5035f4
mov byte [ebx + 3], 0x7e
jmp 0x503901
push 0x64
pop eax
mov byte [ebx + 3], al
add esi, 2
mov dword [ebx + 8], 2
mov dword [ebp - 0x18], esi
jmp case.0x503385.11
cmp word [esi + 2], cx
jne 0x50361c
mov byte [ebp - 0x11], 1
cmp word [esi + 4], cx
jne 0x503620
mov byte [ebp - 0x11], 0
push 0x30
mov edx, esi
mov ecx, eax
pop ebx
call fcn.00504682
test eax, eax
jne 0x503681
sub edx, dword [edi + 0x14]
and edx, 0xfffffffe
cmp edx, 0x1fffffc
jl 0x50366f
test byte [edi + 0x20], 0x20
jne 0x50366f
and dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x6c]
mov eax, dword [edi]
push ecx
push 1
push 0x259
push 1
push 0xfffffd
push dword [edi + 0x18]
mov ecx, edi
mov dword [ebp - 0x68], 0xfffffe
call dword [eax]
or dword [edi + 0x20], ebx
mov esi, dword [ebp - 0x18]
add esi, 2
mov dword [ebp - 0x18], esi
mov edx, esi
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x503627
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ebx, dword [ebp + 8]
test al, al
je 0x5033c8
cmp byte [ebp - 0x11], 0
je 0x503710
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
or dword [ebx + 4], 0x10000000
sar edi, 1
mov byte [ebx + 3], 0x57
mov edx, dword [ecx]
lea esi, [edi + 1]
lea eax, [esi*2 + 0xc]
push eax
push ebx
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ecx + 0x14]
sar eax, 1
push eax
push dword [ecx + 0x18]
lea ecx, [ebp - 0x94]
call fcn.0056505c
push edi
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 8]
push esi
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebx + 8]
add eax, 8
push eax
call fcn.00574864
mov eax, dword [ebx + 8]
add esp, 0x10
xor ecx, ecx
mov word [eax + edi*2 + 8], cx
mov edi, dword [ebp - 0x2c]
jmp 0x5033c8
mov esi, dword [ebp - 0x18]
mov eax, esi
sub eax, dword [ebp - 0x20]
mov byte [ebx + 3], 0x56
sar eax, 1
jmp 0x503931
cmp word [esi + 2], dx
jne 0x503733
mov byte [ebp - 0x11], 1
cmp word [esi + 4], dx
jne 0x503737
mov byte [ebp - 0x11], 0
add esi, 2
mov dword [ebp - 0x18], esi
movzx ecx, word [esi]
test cx, cx
je 0x50378b
cmp cx, dx
jne 0x503753
push 0x2f
pop eax
cmp word [esi + 2], ax
je 0x503783
call fcn.00504682
test eax, eax
je 0x503737
cmp ecx, 0xd
jne 0x50376d
push 0xa
pop ecx
cmp word [esi + 2], cx
jne 0x50376d
add esi, 2
mov eax, dword [edi]
add esi, 2
push esi
mov ecx, edi
mov dword [ebp - 0x18], esi
call dword [eax + 8]
mov esi, dword [ebp - 0x18]
push 0x2a
pop edx
jmp 0x50373d
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x5037bf
mov eax, dword [ebx]
mov ecx, edi
mov edx, dword [edi]
and eax, 0xffffff
push 0
push 0
push 0x25a
push 2
push eax
mov eax, dword [ebx + 4]
and eax, 0xfffffff
push eax
call dword [edx]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
je 0x5037bf
or dword [ebx + 4], 0x20000000
mov eax, dword [edi]
mov ecx, edi
and dword [edi + 0x20], 0xfffffffd
call dword [eax + 0x10]
test al, al
je 0x5033c8
or dword [ebx + 4], 0x10000000
cmp byte [ebp - 0x11], 0
je 0x50389d
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sar edi, 1
mov byte [ebx + 3], 0x59
mov edx, dword [ecx]
lea esi, [edi + 1]
lea eax, [esi*2 + 0xc]
push eax
push ebx
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 8], edx
sub ecx, dword [eax + 0x14]
sar ecx, 1
push ecx
push dword [eax + 0x18]
lea ecx, [ebp - 0x9c]
call fcn.0056505c
push edi
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
add eax, 8
push esi
push eax
call fcn.00574864
mov eax, dword [ebx + 8]
xor ecx, ecx
add esp, 0x10
mov word [eax + edi*2 + 8], cx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
mov eax, esi
sub eax, dword [edi + 0x14]
and eax, 0xfffffffe
cmp eax, 0x1fffffc
jl case.0x503385.11
test byte [edi + 0x20], 0x20
jne case.0x503385.11
and dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], 0xfffffe
mov eax, dword [edi]
push ecx
push 1
push 0x259
push 1
push 0xfffffd
push dword [edi + 0x18]
mov ecx, edi
call dword [eax]
push 0x30
pop eax
or dword [edi + 0x20], eax
jmp 0x5033c8
push 0x58
pop eax
mov byte [ebx + 3], al
mov ecx, edi
mov eax, dword [edi]
push 8
push ebx
call dword [eax + 0x14]
push eax
push dword [ebp - 0x18]
mov ecx, edi
mov dword [ebx + 8], eax
call fcn.00502ff9
test al, al
jne 0x5033c8
test byte [edi + 0x20], 0x20
jne 0x5033c8
and dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], 0xfffffe
jmp 0x50387a
movzx eax, word [esi]
push 0x30
pop ecx
cmp ax, cx
jb 0x5038fd
push 0x39
pop ecx
cmp ax, cx
jbe 0x503eb1
mov byte [ebx + 3], 0x86
mov dword [ebx + 8], 1
jmp case.0x503385.11
push 0x5f
pop eax
mov byte [ebx + 3], al
jmp 0x503901
cmp word [esi], 0x3a
jne 0x503928
push 2
add esi, 2
pop eax
mov dword [ebp - 0x18], esi
push 0x6d
jmp 0x50392d
xor eax, eax
inc eax
push 0x6c
pop ecx
mov byte [ebx + 3], cl
mov dword [ebx + 8], eax
jmp case.0x503385.11
mov byte [ebx + 3], 0x5a
jmp 0x503901
push 0x3d
pop eax
cmp word [esi], ax
jne 0x503954
add esi, 2
mov cl, 0x74
push 2
mov dword [ebp - 0x18], esi
pop eax
jmp 0x50392e
xor eax, eax
mov cl, 0x81
inc eax
jmp 0x50392e
movzx eax, word [esi]
push 0x3d
pop ecx
cmp ax, cx
jne 0x50396c
mov byte [ebx + 3], 0x73
jmp 0x50397e
cmp byte [edi + 4], 0
je 0x503990
push 0x3e
pop ecx
cmp ax, cx
jne 0x503990
mov byte [ebx + 3], 0x88
add esi, 2
mov dword [ebx + 8], 2
mov dword [ebp - 0x18], esi
jmp case.0x503385.11
mov byte [ebx + 3], 0x60
jmp 0x503901
push 0x3d
pop eax
cmp word [esi], ax
jne 0x5039ae
add esi, 2
mov cl, 0x63
push 2
mov dword [ebp - 0x18], esi
pop eax
jmp 0x50392e
xor eax, eax
mov cl, 0x7d
inc eax
jmp 0x50392e
mov byte [ebx + 3], 0x84
jmp 0x503901
mov byte [ebx + 3], 0x5b
jmp 0x503901
cmp word [esi], 0x3f
jne 0x5039e0
add esi, 2
mov cl, 0x89
push 2
mov dword [ebp - 0x18], esi
pop eax
jmp 0x50392e
xor eax, eax
mov cl, 0x6b
inc eax
jmp 0x50392e
movzx eax, word [esi]
push 0x3d
pop ecx
cmp ax, cx
jne 0x5039fe
mov byte [ebx + 3], 0x61
jmp 0x5035fa
push 0x2b
pop ecx
cmp ax, cx
jne 0x503a0f
mov byte [ebx + 3], 0x82
jmp 0x5035fa
mov byte [ebx + 3], 0x7b
jmp 0x503901
movzx eax, word [esi]
push 0x3d
pop ecx
cmp ax, cx
jne 0x503a2c
mov byte [ebx + 3], 0x62
jmp 0x5035fa
push 0x2d
pop ecx
cmp ax, cx
jne 0x503a3d
mov byte [ebx + 3], 0x83
jmp 0x5035fa
push 0x3e
pop ecx
cmp ax, cx
jne 0x503a4e
mov byte [ebx + 3], 0x87
jmp 0x5035fa
push 0x7c
jmp 0x50390f
push 0x3d
pop eax
cmp word [esi], ax
jne 0x503a6d
push 2
add esi, 2
pop eax
mov dword [ebp - 0x18], esi
push 0x65
jmp 0x50392d
xor eax, eax
mov cl, 0x7f
inc eax
jmp 0x50392e
movzx eax, word [esi]
push 0x3d
pop ecx
cmp ax, cx
jne 0x503a89
push 0x66
jmp 0x5035f6
cmp eax, 0x26
jne 0x503a97
mov byte [ebx + 3], 0x6f
jmp 0x5035fa
mov byte [ebx + 3], 0x72
jmp 0x503901
movzx eax, word [esi]
push 0x3d
pop ecx
cmp ax, cx
jne 0x503abd
add esi, 2
mov byte [ebx + 3], 0x76
push 2
mov dword [ebp - 0x18], esi
pop eax
jmp 0x503931
push 0x3e
cmp ax, word [ebp - 0x3c]
jne 0x503af4
pop eax
cmp word [esi + 2], ax
jne 0x503ad3
push 0x75
jmp 0x50390f
add esi, 2
mov dword [ebp - 0x18], esi
cmp word [esi], cx
jne 0x503aea
add esi, 2
mov cl, 0x69
mov dword [ebp - 0x18], esi
push 3
jmp 0x503aee
push 2
mov cl, 0x79
pop eax
jmp 0x50392e
pop ecx
cmp ax, cx
jne 0x503b07
push 0x66
pop eax
cmp word [esi + 2], ax
je case.0x50411e.78
push 0x75
pop eax
mov byte [ebx + 3], al
xor eax, eax
inc eax
jmp 0x503931
push 0x3d
pop eax
cmp word [esi], ax
jne 0x503b2d
push 2
add esi, 2
pop eax
mov dword [ebp - 0x18], esi
push 0x78
jmp 0x50392d
xor eax, eax
mov cl, 0x77
inc eax
jmp 0x50392e
push 0x22
pop eax
cmp word [esi], ax
jne 0x503c94
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 1
lea esi, [edi + 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], ecx
movzx edx, word [ecx]
add ecx, 2
movzx eax, dx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
sub eax, 0
je 0x503bf6
sub eax, 0xa
je 0x503bcf
sub eax, 3
je 0x503bad
sub eax, 0x15
je 0x503b97
sub eax, 0x63
je 0x503bcf
sub eax, 0x1fa3
je 0x503bcf
sub eax, 1
jne 0x503be0
jmp 0x503bcf
push 0x22
pop eax
cmp word [ecx], ax
jne 0x503ba7
lea eax, [ecx + 2]
mov dword [ebp - 0x18], eax
jmp 0x503bda
mov byte [ebp - 0x11], 1
jmp 0x503bda
push 0xa
pop eax
cmp word [ecx], ax
jne 0x503bcf
lea esi, [edi + 0x24]
push edx
mov ecx, esi
call fcn.005665a8
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x11], 0
jne 0x503c25
push edx
mov ecx, esi
call fcn.005665a8
cmp byte [ebp - 0x11], 0
jne 0x503c25
mov ecx, dword [ebp - 0x18]
jmp 0x503b5d
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
and edx, 0xffffff
mov eax, dword [edi]
and ecx, 0xfffffff
push 0
push 0
push 0x25e
push 2
push edx
push ecx
mov ecx, edi
call dword [eax]
or dword [ebx + 4], 0x20000000
sub dword [ebp - 0x18], 2
or dword [ebx + 4], 0x10000000
lea esi, [edi + 0x24]
mov byte [ebx + 3], 0x54
mov ecx, edi
mov eax, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 0x10]
push eax
push ebx
call dword [edx + 0x14]
push eax
push dword [ebp - 0x18]
mov ecx, edi
mov dword [ebx + 8], eax
call fcn.00502ff9
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax - 0xc]
mov eax, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 8]
lea eax, [edx + 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
call fcn.0056661a
push eax
mov eax, dword [ebx + 8]
push dword [eax + 0xc]
call fcn.00435014
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x5035c2
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push esi
call fcn.005045f4
movzx ecx, ax
call fcn.004a8514
test eax, eax
jne 0x503d62
mov edx, dword [ebp - 0x18]
push 0x30
pop eax
cmp word [edx], ax
jne 0x503d25
movzx eax, word [edx + 2]
push 0x78
pop ecx
cmp ax, cx
je 0x503ccf
push 0x58
pop ecx
cmp ax, cx
jne 0x503d25
add edx, 4
mov dword [ebp - 0x18], edx
mov esi, edx
mov cx, word [edx]
call fcn.004d27fb
test eax, eax
je 0x503d25
add edx, 2
mov dword [ebp - 0x18], edx
mov cx, word [edx]
call fcn.004d27fb
test eax, eax
jne 0x503ce3
cmp edx, esi
jbe 0x503d25
call fcn.004a8514
test eax, eax
jne 0x503d22
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.004a846e
mov dword [ebx + 8], eax
mov byte [ebx + 3], 0x51
jmp 0x5033c8
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
lea ecx, [edi + 0xc]
sub edx, esi
mov byte [ebx + 3], 0x8b
sar edx, 1
push edx
push esi
call fcn.004a846e
mov dword [ebx + 8], eax
mov ecx, edi
mov eax, dword [ebp - 0x18]
mov edx, dword [edi]
sub eax, esi
sub esi, dword [edi + 0x14]
push 0
push 0
push 0x309
sar eax, 1
push eax
sar esi, 1
push esi
push dword [edi + 0x18]
call dword [edx]
jmp 0x5033c8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0050463d
movzx edx, ax
mov byte [ebp - 0x22], 1
jmp case.0x50411e.78
push 0x30
pop eax
cmp dx, ax
jne 0x503e40
movzx eax, word [esi]
push 0x78
pop ecx
cmp ax, cx
je 0x503da0
push 0x58
pop ecx
cmp ax, cx
jne 0x503e40
add esi, 2
mov byte [ebp - 0x11], 1
push 0x66
mov dword [ebp - 0x18], esi
pop ecx
movzx eax, word [esi]
cmp ax, cx
ja 0x503ddb
mov ecx, eax
movzx eax, cx
push eax
call fcn.00576da1
mov esi, dword [ebp - 0x18]
pop ecx
test eax, eax
je 0x503ddb
add esi, 2
push 0x66
mov dword [ebp - 0x18], esi
pop edx
movzx eax, word [esi]
mov ecx, eax
cmp ax, dx
jbe 0x503db7
movzx eax, word [esi]
push 0x4c
pop ecx
cmp ax, cx
je 0x503e27
push 0x6c
pop edx
cmp ax, dx
je 0x503e27
push 0x75
pop ecx
cmp ax, cx
je 0x503e02
push 0x55
pop ecx
cmp ax, cx
jne 0x5040b5
add esi, 2
push 0x4c
mov dword [ebp - 0x18], esi
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x503e1c
cmp ax, dx
jne 0x5040b5
add esi, 2
mov dword [ebp - 0x18], esi
jmp 0x5040b5
add esi, 2
push 0x75
mov dword [ebp - 0x18], esi
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x503e1c
push 0x55
pop ecx
cmp ax, cx
jmp 0x503e16
movzx eax, word [esi]
mov edx, esi
mov ecx, esi
cmp ax, word [ebp - 0x34]
jb 0x503e78
mov edi, esi
mov ebx, eax
push 0x39
pop eax
mov edx, edi
cmp bx, ax
ja 0x503e72
lea esi, [edi + 2]
mov dword [ebp - 0x18], esi
mov ecx, esi
movzx eax, word [esi]
mov edi, esi
mov edx, esi
mov ebx, eax
cmp ax, word [ebp - 0x34]
jae 0x503e51
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x2c]
movzx eax, word [esi]
cmp eax, 0x23
jne 0x503e8b
lea eax, [edx + 2]
mov dword [ebp - 0x18], eax
jmp 0x503d05
cmp eax, 0x2e
jne 0x503ee8
lea esi, [edx + 2]
push 0x30
mov dword [ebp - 0x18], esi
movzx eax, word [esi]
pop ecx
cmp ax, cx
jb 0x504004
push 0x39
pop ecx
cmp ax, cx
ja 0x504004
add esi, 2
mov byte [ebp - 0x21], 1
push 0x30
mov dword [ebp - 0x18], esi
mov ecx, esi
pop edx
movzx eax, word [esi]
cmp ax, dx
jb 0x503ee8
push 0x39
mov edx, eax
pop edi
cmp dx, di
ja 0x503ee5
add esi, 2
mov dword [ebp - 0x18], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
cmp ax, word [ebp - 0x34]
jae 0x503ecd
mov edi, dword [ebp - 0x2c]
movzx eax, word [esi]
cmp eax, 0x45
je 0x503ef8
push 0x65
pop edx
cmp ax, dx
jne 0x503f5b
lea esi, [ecx + 2]
mov byte [ebp - 0x21], 1
push 0x2b
mov dword [ebp - 0x18], esi
movzx eax, word [esi]
pop ecx
cmp ax, cx
je 0x503f1a
push 0x2d
pop edx
mov dword [ebp - 0x1c], esi
mov ecx, esi
cmp ax, dx
jne 0x503f25
add esi, 2
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
push 0x30
pop edx
cmp ax, dx
jb 0x504078
mov edx, eax
push 0x39
pop eax
cmp dx, ax
ja 0x504078
mov esi, dword [ebp - 0x1c]
add esi, 2
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
mov edx, eax
cmp ax, word [ebp - 0x34]
jae 0x503f36
cmp byte [ebp - 0x21], 0
mov edx, ecx
jne 0x504078
movzx eax, word [esi]
push 0x46
pop ecx
cmp ax, cx
je 0x504073
push 0x66
pop ecx
cmp ax, cx
je 0x504073
push 0x44
pop ecx
cmp ax, cx
je 0x504073
push 0x64
pop ecx
cmp ax, cx
je 0x504073
push 0x6d
pop ecx
cmp ax, cx
je 0x504073
push 0x4d
pop ecx
cmp ax, cx
je 0x504073
push 0x4c
pop ecx
cmp ax, cx
je 0x504058
push 0x6c
pop edx
cmp ax, dx
je 0x504058
push 0x75
pop ecx
cmp ax, cx
je 0x503fde
xor cl, cl
cmp ax, word [ebp - 0x44]
jne 0x5040b8
add esi, 2
push 0x4c
mov dword [ebp - 0x18], esi
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x503ffc
mov byte [ebp - 0x11], 0
cmp ax, dx
jne 0x5040b5
add esi, 2
jmp 0x5040ae
or dword [ebx + 4], 0x10000000
mov ecx, edi
mov dword [ebp - 0x18], edx
sub edx, dword [ebp - 0x20]
sar edx, 1
mov dword [ebp - 0x1c], edx
mov byte [ebx + 3], 0x52
lea esi, [edx + 1]
mov edx, dword [edi]
lea eax, [esi*2 + 8]
push eax
push ebx
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x1c]
push ecx
push dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov dword [eax], ecx
push esi
mov eax, dword [ebx + 8]
add eax, 4
push eax
call fcn.00574864
mov eax, dword [ebx + 8]
add esp, 0x10
xor ecx, ecx
mov word [eax + esi*2 + 4], cx
jmp 0x5033c8
add esi, 2
push 0x75
mov dword [ebp - 0x18], esi
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x503ffc
push 0x55
pop ecx
cmp ax, cx
je 0x503ffc
jmp 0x5040b1
lea esi, [edx + 2]
jmp 0x5040ae
movzx eax, word [esi]
push 0x66
pop edx
cmp ax, dx
je 0x5040ab
push 0x46
pop edx
cmp ax, dx
je 0x5040ab
push 0x44
pop edx
cmp ax, dx
je 0x5040ab
push 0x64
pop edx
cmp ax, dx
je 0x5040ab
push 0x6d
pop edx
cmp ax, dx
je 0x5040ab
push 0x4d
pop edx
cmp ax, dx
jne 0x5040b1
lea esi, [ecx + 2]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x11], 0
mov cl, byte [ebp - 0x11]
sub esi, dword [ebp - 0x20]
mov eax, dword [ebx + 4]
or eax, 0x10000000
sar esi, 1
mov byte [ebx + 3], 0x52
mov dword [ebx + 4], eax
test cl, cl
je 0x5040d8
or eax, 0x80000000
mov dword [ebx + 4], eax
mov edx, dword [edi]
lea eax, [esi*2 + 0xa]
push eax
push ebx
mov ecx, edi
call dword [edx + 0x14]
push esi
push dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov dword [eax], esi
lea eax, [esi + 1]
push eax
jmp 0x50403a
cmp eax, 0x85
ja 0x5041ba
je case.0x503385.10
sub eax, 0x4e
cmp eax, 0x30
ja case.0x50411e.96
movzx eax, byte [eax + 0x5044c8]
jmp dword [eax*4 + 0x5044a0]
mov byte [ebx + 3], 0x80
jmp 0x503901
mov byte [ebx + 3], 0x5d
jmp 0x503901
mov byte [ebx + 3], 0x5e
jmp 0x503901
mov byte [ebx + 3], 0x85
jmp 0x503901
push 0x5c
jmp 0x50390f
push 0x3d
pop eax
cmp word [esi], ax
jne 0x504168
add esi, 2
mov cl, 0x67
push 2
mov dword [ebp - 0x18], esi
pop eax
jmp 0x50392e
xor eax, eax
mov cl, 0x71
inc eax
jmp 0x50392e
movzx eax, word [esi]
push 0x3d
pop ecx
cmp ax, cx
jne 0x504186
mov byte [ebx + 3], 0x68
jmp 0x5035fa
push 0x7c
pop ecx
cmp ax, cx
jne 0x504197
mov byte [ebx + 3], 0x6e
jmp 0x5035fa
mov byte [ebx + 3], 0x70
jmp 0x503901
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0050463d
movzx ecx, ax
mov dword [ebp - 0x30], ecx
jmp 0x504207
sub eax, 0x2028
je case.0x503385.10
sub eax, 1
je case.0x503385.10
sub eax, 0xded6
je case.0x503385.11
push edx
call fcn.006368c4
cmp al, 0x10
jne 0x504204
mov eax, dword [ebp - 0x18]
jmp 0x5041f1
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
push eax
call fcn.006368c4
cmp al, 0x10
jne 0x5033c8
jmp 0x5041e8
mov ecx, dword [ebp - 0x30]
call fcn.004a8514
test eax, eax
jne 0x504218
push dword [ebp - 0x18]
jmp 0x503425
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 2
lea esi, [edi + 0x24]
push edx
mov ecx, esi
mov byte [ebp - 0x11], 0
call fcn.005665a8
cmp word [ebp - 0x28], 0
je 0x504245
push dword [ebp - 0x28]
mov ecx, esi
call fcn.005665a8
mov bl, byte [ebp - 0x11]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.005045f4
movzx eax, ax
mov dword [ebp - 0x1c], eax
movzx eax, ax
add eax, 0xfffffff7
cmp eax, 0x71
ja case.0x50426e.10
movzx eax, byte [eax + 0x504510]
jmp dword [eax*4 + 0x5044fc]
test bl, bl
jne case.0x50426e.48
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.00492ba9
push 0x5f
pop ecx
cmp ax, cx
jne case.0x50426e.48
inc bl
jmp case.0x50426e.48
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.00492ba9
push 0x3c
pop ecx
cmp ax, cx
je case.0x50426e.48
jmp case.0x50426e.9
mov ecx, dword [ebp - 0x1c]
call fcn.004a84eb
test eax, eax
je case.0x50426e.9
push dword [ebp - 0x1c]
call fcn.006368c4
cmp al, 0x1b
je 0x5042de
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.005665a8
cmp word [ebp - 0x28], 0
je 0x5042de
push dword [ebp - 0x28]
mov ecx, esi
call fcn.005665a8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0050463d
movzx eax, ax
test ax, ax
jne 0x504248
mov ecx, esi
call fcn.0056661a
cmp byte [ebp - 0x22], 0
mov ecx, dword [esi]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov esi, dword [ecx - 0xc]
mov eax, dword [ebp - 0x20]
jne 0x504325
mov ecx, edx
mov byte [ebp - 0x11], 0
sub ecx, eax
sar ecx, 1
cmp ecx, esi
jle 0x504329
mov byte [ebp - 0x11], 1
cmp esi, 0x200
jl 0x504355
push 0
push 0
sub edx, eax
mov ecx, eax
sub ecx, dword [edi + 0x14]
mov eax, dword [edi]
push 0x1a3
sar edx, 1
sar ecx, 1
push edx
push ecx
push dword [edi + 0x18]
mov ecx, edi
call dword [eax]
mov esi, 0x1ff
push esi
push dword [ebp - 0x1c]
lea ecx, [edi + 0xc]
call fcn.004a846e
mov edx, eax
mov al, byte [ebp - 0x11]
mov dword [ebx + 8], edx
test al, al
jne 0x504398
mov ecx, dword [edi + 0xc]
lea ebx, [ebp - 0x1c]
and dword [ebp - 0x1c], 0
push ebx
push dword [edi + 0x1c]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x2c]
mov ebx, dword [ebp + 8]
cmp eax, 1
je 0x504395
mov al, byte [ebp - 0x1c]
mov byte [ebx + 3], al
mov dword [ebx + 8], esi
jmp 0x5043c7
mov al, byte [ebp - 0x11]
mov byte [ebx + 3], 0x51
test al, al
je 0x5043c7
or dword [ebx + 4], 0x10000000
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [ebx + 8]
push 8
push ebx
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [ebx + 8], eax
sar ecx, 1
mov dword [eax + 4], ecx
mov eax, dword [ebx + 8]
mov dword [eax], esi
cmp byte [ebp - 0x22], 0
je 0x5043d4
or dword [ebx + 4], 0x80000000
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
jmp 0x5035c2