Function at 0x545ec0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x230
mov esi, esp
mov dword [esi + 0x218], ebp
lea ebx, [esi + 0x220]
mov dword [ebx - 4], esp
xor eax, eax
dec eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0x442000
mov eax, dword fs:[0]
mov dword [ebx], eax
mov dword fs:[0], ebx
mov eax, 0x190
lea edi, [esi + 0x88]
push eax
push 0xff
push edi
call fcn.00508060
add esp, 0xc
mov dword [esi + 0x4c], edi
mov dword [esi + 0x18], edi
mov eax, 0x190
add edi, eax
mov dword [esi + 0x5c], edi
xor ecx, ecx
dec ecx
mov dword [esi + 0x58], ecx
mov al, 0xff
lea edx, [esi + 0x54]
mov dword [edx], ecx
lea ecx, [esi + 0x17]
mov byte [ecx], al
lea ecx, [esi + 0x16]
mov byte [ecx], al
mov dword [esi + 0x50], fcn.00535c80
mov dword [ebx + 8], 1
xor eax, eax
lea ebx, [esi + 0x70]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
lea edi, [esi + 0x20]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
lea edx, [esi + 0x40]
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], eax
lea ecx, [esi + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
movzx eax, byte [ebp + 0x10]
mov dword [esi], eax
lea eax, [esi + 0x54]
push eax
push ecx
push edx
push edi
push ebx
lea ecx, [esi + 0x16]
push ecx
lea ecx, [esi + 0x17]
push ecx
lea eax, [esi + 0x58]
push eax
push dword [ebp + 0x14]
push dword [esi]
call fcn.00546fc0
add esp, 0x28
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
shr edx, 9
and edx, 1
mov dword [esi + 0x80], edx
xor ecx, ecx
xor edi, edi
cmp edi, 3
mov dword [esi + 4], ecx
ja 0x5467ac
mov dword [esi + 0xc], edi
mov dword [esi + 0x228], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004d33d0
test al, al
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0xc]
jne 0x5467ac
movsx eax, byte [esi + edi + 0x58]
cmp eax, 4
ja case.default.0x546007
jmp dword [eax*4 + 0x5e0534]
cmp edi, 3
je 0x546292
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004d33d0
test al, al
jne 0x546292
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54607d
movzx eax, byte [eax]
test al, al
mov edi, dword [esi + 0xc]
js 0x546434
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
movsx eax, al
test byte [ecx + eax*2], 8
je 0x546434
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x5460a4
lea ecx, [eax + 1]
mov dword [edi + 0xc], ecx
movzx eax, byte [eax]
movsx eax, al
lea ecx, [esi + 0x60]
push eax
call fcn.004daa20
jmp 0x546017
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x54603b
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x54606f
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x1c]
mov ah, byte [edi + ebx]
mov edi, dword [esi]
cmp ah, byte [edi + ebx]
jne 0x546b28
inc ebx
cmp edx, ebx
jne 0x5460cb
jmp 0x546b5c
mov dword [esi], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004d33d0
test al, al
jne 0x5462ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546181
movzx ebx, byte [eax]
test bl, bl
js 0x54612a
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 8]
movsx ecx, bl
test byte [eax + ecx*2], 4
jne 0x5461d7
movzx eax, byte [esi + 0x7b]
test al, al
jns 0x546135
mov eax, dword [esi + 0x74]
test eax, eax
je 0x5462ad
cmp dword [esi], 0
je 0x5462ad
cmp byte [esi + 0x16], bl
jne 0x5462ad
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x5c]
je 0x5461f1
lea ecx, [eax + 4]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esi], 0
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x5461ad
inc eax
mov dword [edi + 0xc], eax
jmp 0x5460ef
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov ebx, eax
jmp 0x546113
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x5460ef
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
je 0x54620d
mov edx, ecx
lea ecx, [eax + 1]
mov dword [edx], ecx
mov byte [eax], bl
inc dword [esi]
jmp 0x54616b
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x4c]
push eax
call fcn.00547210
add esp, 0xc
mov eax, dword [esi + 0x18]
jmp 0x54615b
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
mov dword [esi + 0x10], ebx
call fcn.00547120
mov ebx, dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
jmp 0x5461e1
test ecx, ecx
jne 0x546457
cmp edi, 2
jb 0x546457
sete al
cmp byte [esi + 0x5b], 0
setne cl
and cl, al
or cl, byte [esi + 0x80]
xor eax, eax
cmp cl, 1
jne 0x546298
mov al, byte [esi + 0x2b]
mov edx, eax
shr dl, 7
test al, al
mov ecx, dword [esi + 0x20]
lea ebx, [esi + 0x20]
cmovs ebx, ecx
mov dword [esi], ebx
jmp 0x546474
movzx ecx, byte [esi + 0x4b]
mov eax, ecx
test cl, cl
jns 0x54627b
mov eax, dword [esi + 0x44]
movzx edx, byte [esi + 0x3b]
mov ebx, edx
test dl, dl
jns 0x546288
mov ebx, dword [esi + 0x34]
mov edi, eax
add edi, ebx
jne 0x54648f
mov eax, dword [esi + 4]
mov edi, dword [esi + 0xc]
inc edi
mov ecx, eax
jmp 0x545fc6
cmp edi, 3
jne 0x5464b7
mov eax, ecx
jmp 0x546298
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x4c], eax
je 0x5462cd
cmp dword [esi], 0
je 0x5462cd
cmp eax, dword [esi + 0x5c]
je 0x54662f
lea ecx, [eax + 4]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi]
mov dword [eax], ecx
cmp dword [esi + 0x54], 0
jle 0x54643c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004d33d0
test al, al
jne 0x5468ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546559
movzx eax, byte [eax]
cmp byte [esi + 0x17], al
jne 0x5468ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546583
inc eax
mov dword [edi + 0xc], eax
cmp dword [esi + 0x54], 0
jle 0x54643c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004d33d0
test al, al
jne 0x5468ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x5463e0
movzx eax, byte [eax]
test al, al
js 0x5468ad
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
movsx eax, al
test byte [ecx + eax*2], 4
je 0x5468ad
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x546386
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.00547120
add esp, 0xc
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54640a
movzx eax, byte [eax]
mov edi, dword [ebp + 0x2c]
mov ecx, dword [edi]
lea edx, [ecx + 1]
mov dword [edi], edx
mov byte [ecx], al
dec dword [esi + 0x54]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
jne 0x546319
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x54631d
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x54634f
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x546396
mov eax, dword [esi + 4]
jmp 0x546298
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0x28]
cmp ecx, dword [edx]
mov edi, dword [esi + 0xc]
jne 0x546298
jmp 0x5468ad
mov al, byte [esi + 0x2b]
test al, al
mov ecx, dword [esi + 0x20]
lea ebx, [esi + 0x20]
cmovs ebx, ecx
test edi, edi
je 0x54669f
mov dword [esi], ebx
mov edx, eax
shr dl, 7
lea ebx, [esi + 0x58]
cmp byte [edi + ebx - 1], 1
ja 0x546552
test dl, dl
je 0x54695d
jmp 0x546955
test eax, eax
je 0x5465d7
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
test ebx, ebx
je 0x5469a1
cmp eax, edx
jne 0x546999
jmp 0x546a89
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x5465ed
movzx eax, byte [eax]
test al, al
js 0x5468ad
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
movsx eax, al
test byte [ecx + eax*2], 8
je 0x5468ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54664b
lea ecx, [eax + 1]
mov dword [edi + 0xc], ecx
movzx eax, byte [eax]
movsx eax, al
lea ecx, [esi + 0x60]
push eax
call fcn.004daa20
jmp 0x546017
mov ebx, dword [esi]
mov edx, ebx
test edi, edi
mov byte [esi + 0xb], al
je 0x546677
lea edx, [ebx + edi]
mov dword [esi + 0x1c], edx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 8]
mov dword [esi + 0x10], eax
mov edx, ebx
movzx ebx, byte [edx]
test bl, bl
js 0x546675
mov eax, dword [esi + 0x10]
test byte [eax + ebx*2], 8
je 0x546675
inc edx
dec edi
jne 0x546531
jmp 0x546aee
mov ebx, dword [esi]
jmp 0x54669f
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x5462ff
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x54631d
mov dword [esi], eax
lea ebx, [esi + 0x40]
test cl, cl
js 0x5469e0
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esi]
cmp byte [ebx], al
jne 0x5469fa
jmp 0x5469e8
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
jne 0x5469d8
jmp 0x546ab6
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x5464cb
lea ecx, [esi + 0x30]
test dl, dl
js 0x546a46
cmp byte [ecx], al
jne 0x546292
jmp 0x546a4e
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x4c]
push eax
call fcn.00547210
add esp, 0xc
mov eax, dword [esi + 0x18]
jmp 0x5462c3
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x546500
mov ebx, dword [esi]
mov edi, edx
sub edi, ebx
mov dword [esi + 0x10], edi
movzx eax, byte [esi + 0x6b]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x6c], eax
test al, al
js 0x546965
mov edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x1c]
jbe 0x546970
mov al, byte [esi + 0xb]
test al, al
movzx eax, al
cmovs eax, dword [esi + 0x24]
lea edx, [esi + 0x20]
cmovns ecx, edx
add eax, ecx
cmp ebx, eax
je 0x54675a
mov dword [esi + 0x228], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov dword [esi], ebx
call fcn.004d33d0
mov ebx, dword [esi]
test al, al
jne 0x54675a
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546708
movzx eax, byte [eax]
cmp byte [ebx], al
jne 0x54675a
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546731
inc eax
mov dword [edi + 0xc], eax
inc ebx
mov al, byte [esi + 0x2b]
mov ecx, dword [esi + 0x20]
jmp 0x54669f
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov ebx, dword [esi]
jmp 0x5466ea
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov ebx, dword [esi]
jmp 0x5466ff
bt dword [ebp + 0x18], 9
jae 0x546292
movzx eax, byte [esi + 0x2b]
lea ecx, [esi + 0x20]
test al, al
mov edi, dword [esi + 0xc]
jns 0x546779
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
add ecx, eax
mov eax, dword [esi + 4]
cmp ebx, ecx
je 0x546298
jmp 0x5468ad
test cl, cl
jns 0x546a81
jmp 0x546a79
mov edi, dword [esi + 0xc]
cmp eax, 2
mov eax, dword [esi + 4]
lea ecx, [esi + 0x40]
cmovae eax, ecx
jmp 0x546298
test ecx, ecx
je 0x546881
xor edx, edx
inc edx
mov ecx, dword [esi + 4]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x5467c5
mov eax, dword [ecx + 4]
cmp edx, eax
jae 0x546881
mov dword [esi + 0x228], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov dword [esi], edx
call fcn.004d33d0
mov edx, dword [esi]
test al, al
jne 0x5468ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54682a
movzx eax, byte [eax]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xb], 0
jns 0x54680d
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
cmp byte [ecx + edx], al
jne 0x5468ad
inc edx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546853
inc eax
mov dword [edi + 0xc], eax
jmp 0x5467b7
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov edx, dword [esi]
jmp 0x5467ff
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
mov dword [esi], edx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov edx, dword [esi]
jmp 0x5467b7
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x18]
mov bl, 1
cmp eax, ecx
je 0x5468b5
lea edi, [esi + 0x84]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x70]
push eax
call fcn.00547310
add esp, 0x10
cmp dword [edi], 0
je 0x5468b5
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
cmp byte [esi + 0x6b], 0
jns 0x5468c6
push dword [esi + 0x60]
call fcn.00503da5
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x5468d7
push dword [esi + 0x30]
call fcn.00503da5
add esp, 4
cmp byte [esi + 0x4b], 0
jns 0x5468e8
push dword [esi + 0x40]
call fcn.00503da5
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x5468f9
push dword [esi + 0x20]
call fcn.00503da5
add esp, 4
cmp byte [esi + 0x7b], 0
jns 0x54690a
push dword [esi + 0x70]
call fcn.00503da5
add esp, 4
mov edi, dword [esi + 0x4c]
mov dword [esi + 0x4c], 0
test edi, edi
je 0x54693f
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x228], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x228], 0
push edi
mov dword [esi], ebx
call ecx
mov ebx, dword [esi]
add esp, 4
mov eax, dword [esi + 0x220]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esi + 0x24]
jmp 0x546511
movzx edi, al
jmp 0x546511
mov edi, dword [esi + 0x64]
mov dword [esi + 0x1c], edi
jmp 0x546690
lea ebx, [esi + 0x60]
cmp byte [esi + 0x6c], 0
jns 0x54697c
mov ebx, dword [esi + 0x60]
cmp dword [esi + 0x10], 0
je 0x546af6
mov dword [esi + 0x6c], edx
add ebx, dword [esi + 0x1c]
sub ebx, dword [esi + 0x10]
mov dword [esi + 0x1c], ebx
xor ebx, ebx
jmp 0x5460cb
movzx eax, byte [eax]
jmp 0x5465ad
cmp eax, edx
je 0x546b2f
movzx eax, byte [eax]
lea edx, [esi + 0x40]
test cl, cl
jns 0x5469b6
mov edx, dword [esi + 0x40]
cmp byte [edx], al
jne 0x546ae3
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546c15
inc eax
mov dword [edi + 0xc], eax
jmp 0x54678b
movzx eax, byte [eax]
jmp 0x546617
mov ebx, dword [esi + 0x40]
jmp 0x5465ba
cmp edx, dword [esi + 0x10]
je 0x546b64
inc edx
mov dword [edi + 0xc], edx
jmp 0x54678b
cmp edx, dword [esi + 0x10]
je 0x546b91
movzx eax, byte [edx]
mov cl, byte [esi + 0x3b]
lea edx, [esi + 0x30]
test cl, cl
jns 0x546a13
mov edx, dword [esi + 0x30]
cmp byte [edx], al
jne 0x5468ad
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546bbb
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test cl, cl
jns 0x546afd
mov eax, dword [esi + 0x34]
jmp 0x546b00
mov ecx, dword [esi + 0x30]
jmp 0x546622
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x546be8
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test dl, dl
jns 0x546b11
mov eax, dword [esi + 0x34]
jmp 0x546b14
mov eax, dword [esi + 0x44]
jmp 0x546798
movzx eax, cl
jmp 0x546798
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov cl, byte [esi + 0x4b]
jmp 0x5465ad
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov dl, byte [esi + 0x3b]
jmp 0x546617
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x546292
mov edx, dword [esi + 0x1c]
jmp 0x546675
mov ebx, edx
jmp 0x54669c
movzx eax, cl
mov edi, dword [esi + 0xc]
cmp eax, 2
mov eax, dword [esi + 4]
lea ecx, [esi + 0x30]
jmp 0x5467a4
movzx eax, dl
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0xc]
cmp eax, 2
lea eax, [esi + 0x30]
cmovae ecx, eax
jmp case.default.0x546007
mov ebx, dword [esi]
jmp 0x54669c
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov cl, byte [esi + 0x4b]
jmp 0x5469ac
mov ebx, dword [esi + 0x6c]
jmp 0x54669c
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov cl, byte [esi + 0x4b]
jmp 0x54678b
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x546a06
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov cl, byte [esi + 0x3b]
jmp 0x546a30
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov dl, byte [esi + 0x3b]
jmp 0x546a63
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
jmp 0x546b89