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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [esp + 0x50], ecx
mov ecx, 0x615f1768
mov edi, dword [esp + 0x114]
call fcn.6154b5f0
mov esi, dword [esp + 0x110]
mov edx, dword [esi + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x6157d714
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x6157d714
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x615fa8a0
mov dword [esp + 4], 0x615fa59c
mov dword [esp], eax
call fcn.615dfd20
mov dword [esp + 0x54], eax
test eax, eax
je 0x6157d714
mov ecx, 0x615f18a0
call fcn.6154b5f0
mov edx, eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x6157d714
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x78], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x114], edi
mov edi, ebp
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.61549880
sub esp, 4
xor eax, 1
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x3c], ecx
setb dl
and al, dl
mov byte [esp + 0x4c], al
je 0x6157c430
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x6157c508
mov ebp, dword [esp + 0x3c]
add ebp, dword [esp + 0x11c]
movzx ebx, byte [ebp]
movzx eax, byte [edi + ebx + 0x11d]
mov edx, ebx
test al, al
jne 0x6157c1bd
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 0x6154afc0
jne 0x6157c470
test dl, dl
je 0x6157c1c5
mov byte [edi + ebx + 0x11d], dl
mov eax, edx
cmp al, 0x25
je 0x6157c378
movzx ecx, byte [ebp]
mov edx, dword [edi + 0x18]
mov esi, dword [esp + 0x104]
mov ebx, dword [esp + 0x100]
test byte [edx + ecx*2], 0x20
jne 0x6157c290
mov edx, dword [edi]
movsx eax, cl
mov ecx, edi
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov byte [esp + 0x48], al
cmp esi, 0xffffffff
jne 0x6157c205
test ebx, ebx
jne 0x6157c490
mov edx, esi
mov eax, dword [edi]
movsx esi, dl
mov ecx, edi
mov dword [esp], esi
call dword [eax + 0x10]
sub esp, 4
cmp byte [esp + 0x48], al
je 0x6157c270
movsx edx, byte [ebp]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
mov ebx, eax
lea ecx, [esp + 0x100]
call fcn.61549930
mov edx, dword [edi]
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
cmp bl, al
je 0x6157c270
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
add dword [esp + 0x3c], 1
jmp 0x6157c144
mov ecx, dword [esp + 0x100]
call fcn.615bdbb0
mov dword [esp + 0x104], 0xffffffff
jmp 0x6157c260
cmp dword [esp + 0x10c], 0xffffffff
sete dl
cmp esi, 0xffffffff
sete al
mov ebp, eax
test ebx, ebx
je 0x6157c2ab
test al, al
jne 0x6157c311
mov eax, ebp
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x108]
test ecx, ecx
setne bl
and bl, dl
jne 0x6157c340
mov ebx, edx
mov eax, ebp
cmp al, bl
je 0x6157c260
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x6157c2db
cmp byte [esp + 0x48], 0
jne 0x6157c358
mov eax, esi
movzx esi, al
mov eax, dword [edi + 0x18]
test byte [eax + esi*2], 0x20
je 0x6157c260
mov ebx, dword [esp + 0x100]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x6157c3d0
mov dword [esp + 0x104], 0xffffffff
add eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jae 0x6157c3f7
mov ecx, dword [esp + 0x108]
movzx eax, byte [esp + 0x4c]
xor ebp, ebp
mov esi, 0xffffffff
test ecx, ecx
mov byte [esp + 0x48], al
setne bl
and bl, dl
je 0x6157c2c1
lea esi, [esi]
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x6157c568
xor ebx, ebx
jmp 0x6157c2c3
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x6157c590
movzx esi, byte [eax]
mov ecx, dword [edi + 0x18]
test byte [ecx + esi*2], 0x20
jne 0x6157c300
jmp 0x6157c260
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x11c]
mov dword [esp + 4], 0
mov ecx, edi
lea ebp, [eax + 1]
movsx eax, byte [esi + eax + 1]
mov dword [esp], eax
call fcn.6154aec0
sub esp, 8
mov dword [esp + 0x7c], 0
cmp al, 0x45
je 0x6157c518
cmp al, 0x4f
je 0x6157c518
sub eax, 0x25
cmp al, 0x54
ja case.0x6157c3c6.1
movzx eax, al
jmp dword [eax*4 + 0x615f5758]
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x28]
movzx edx, byte [esp + 0x48]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x104], 0xffffffff
cmp dword [ebx + 8], eax
jb 0x6157c31d
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
cmp eax, 0xffffffff
mov esi, eax
jne 0x6157c31d
mov dword [esp + 0x100], 0
movzx eax, byte [esp + 0x4c]
mov byte [esp + 0x48], al
mov ebp, eax
jmp 0x6157c2b1
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x3c], esi
jne 0x6157c449
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6157c44c
or dword [edi], 4
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
movsx edx, bl
mov dword [esp + 4], 0
mov ecx, edi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x6157c1b0
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x6157d630
movzx edx, byte [eax]
jmp 0x6157c207
lea ecx, [esp + 0x100]
call fcn.61549930
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
je 0x6157c4f8
mov ecx, dword [esp + 0x100]
call fcn.615bdbb0
mov dword [esp + 0x104], 0xffffffff
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.61549880
sub esp, 4
test al, al
je 0x6157c4a8
lea esi, [esi]
mov dword [esp + 0x3c], ebp
jmp 0x6157c260
mov edi, dword [esp + 0x114]
jmp 0x6157c449
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x11c]
mov dword [esp + 4], 0
mov ecx, edi
lea ebp, [eax + 2]
movsx eax, byte [esi + eax + 2]
mov dword [esp], eax
call fcn.6154aec0
sub eax, 0x25
sub esp, 8
cmp al, 0x54
jbe 0x6157c3c3
lea esi, [esi]
nop
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
jmp 0x6157c4f8
mov eax, dword [ecx]
mov byte [esp + 0x58], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x58]
cmp eax, 0xffffffff
jne 0x6157c34c
mov dword [esp + 0x108], 0
jmp 0x6157c2c3
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
cmp eax, 0xffffffff
mov esi, eax
jne 0x6157c2db
mov dword [esp + 0x100], 0
jmp 0x6157c2db
lea ebx, [esp + 0x80]
mov esi, dword [esp + 0x54]
mov dword [esp], ebx
mov ecx, esi
call fcn.61546db0
mov ecx, esi
sub esp, 4
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.61546c20
sub esp, 4
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x18
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.6157b3c0
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
mov ebx, ecx
sar ebx, 0x1f
mov eax, edx
sar eax, 1
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x120]
or word [eax], 0x408
jmp 0x6157c4f8
lea ecx, [esp + 0x100]
call fcn.61549930
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x6157d66d
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x120]
or word [eax], 0x410
jmp 0x6157c4f8
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x50]
call fcn.6157b3c0
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov ecx, dword [esp + 0x7c]
mov eax, 0x92492493
imul ecx
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 2
sub eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x118]
sub ecx, edx
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x120]
or byte [eax], 2
jmp 0x6157c4f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.6157c080
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
jmp 0x6157c260
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x35
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
shl eax, 0x10
and eax, 0x3f0000
mov edx, esi
mov dword [esp + 0x3c], esi
or eax, 0x40
mov esi, dword [esp + 0x120]
and edx, 0xffc0ffbf
or eax, edx
mov dword [esi], eax
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x35
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
shl eax, 0x10
and eax, 0x3f0000
mov edx, esi
mov dword [esp + 0x3c], esi
or eax, 0x20
mov esi, dword [esp + 0x120]
and edx, 0xffc0ffdf
or eax, edx
mov dword [esi], eax
jmp 0x6157c4f8
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x615f5756
mov dword [esp + 8], ebx
mov dword [esp], 0x615f574d
mov ecx, edi
call fcn.6154ae00
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x6157c91a
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi], eax
jmp 0x6157c4f8
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x615f574d
mov dword [esp + 8], ebx
mov dword [esp], 0x615f5747
jmp 0x6157cb20
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 4], eax
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x16e
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 1
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x120]
or byte [eax], 4
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x120]
or byte [eax], 8
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x63
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x100]
or byte [eax + 1], 6
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.61549880
sub esp, 4
mov ebx, dword [esp + 0x7c]
test al, al
je 0x6157d689
lea eax, [ebx + 0x64]
cmp ebx, 0x45
cmovl ebx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x14], ebx
jmp 0x6157c4f8
lea ecx, [esp + 0x100]
call fcn.61549930
cmp byte [edi + 0x1c], 0
mov ebx, eax
je 0x6157d657
movzx eax, byte [edi + 0x42]
cmp bl, al
jne case.0x6157c3c6.1
mov ecx, dword [esp + 0x100]
call fcn.615bdbb0
mov dword [esp + 0x104], 0xffffffff
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 0x76c
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x120]
movzx eax, byte [eax + 1]
mov byte [esp + 0x3c], al
and eax, 0xfffffff9
or eax, 4
mov byte [esi + 1], al
jmp 0x6157c4f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
jmp 0x6157c91a
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 6
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x120]
or byte [eax], 2
jmp 0x6157c4f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.6157c080
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x120]
or byte [eax + 1], 4
jmp 0x6157c4f8
lea ecx, [esp + 0x100]
call fcn.61549930
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x6157c3c6.1
mov eax, dword [esp + 0x110]
lea ebx, [esp + 0x78]
mov edx, dword [esp + 0x10c]
lea esi, [esp + 0x80]
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x14], 0x615f1820
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157b3c0
sub esp, 0x24
mov dword [esp + 0x100], eax
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0x104], edx
call fcn.61549880
sub esp, 4
test al, al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
jne 0x6157c4f8
or eax, dword [esp + 0x80]
jne 0x6157c4f8
lea ecx, [esp + 0x100]
call fcn.61549930
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x6157d76b
movzx eax, byte [edi + 0x4a]
cmp byte [esp + 0x3c], al
je 0x6157d221
lea ecx, [esp + 0x100]
call fcn.61549930
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x6157d77f
movzx eax, byte [edi + 0x48]
cmp byte [esp + 0x3c], al
jne 0x6157c4f8
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
xor ecx, ecx
sub esp, 0x28
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
mov ebx, ecx
sar ebx, 0x1f
mov eax, edx
sar eax, 1
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x120]
or byte [eax], 1
jmp 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x120]
and byte [eax], 0xfe
jmp 0x6157c4f8
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x615f5747
mov ecx, edi
mov dword [esp + 8], ebx
mov dword [esp], 0x615f573e
call fcn.6154ae00
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x6157d08d
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x63
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6157aed0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
or word [esi], 0x480
mov dword [esi + 4], eax
jmp 0x6157c4f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x6157c91a
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x80], eax
mov edx, dword [edx + 0x24]
mov dword [esp + 0x84], edx
cmp byte [eax], 0
je 0x6157c4f8
cmp byte [edx], 0
je 0x6157c4f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x18], 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.6157b3c0
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x6157c4f8
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x6157c4f8
mov eax, dword [esp + 0x120]
or byte [eax + 1], 1
jmp 0x6157c4f8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
cmp eax, 0xffffffff
jne 0x6157c205
mov dword [esp + 0x100], 0
mov edx, 0xffffffff
jmp 0x6157c207
mov dword [esp], 0x25
mov ecx, edi
call fcn.6154ae80
sub esp, 4
jmp 0x6157cece
mov ecx, dword [esp + 0x100]
call fcn.615bdbb0
mov dword [esp + 0x104], 0xffffffff
jmp 0x6157c6b8
lea ecx, [esp + 0x100]
call fcn.61549930
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.6154aec0
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x6157ce9a
mov ecx, dword [esp + 0x100]
call fcn.615bdbb0
mov ecx, esi
lea eax, [ebx + ebx*4]
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ecx, [esp + 0x100]
lea ebx, [esi + eax*2 - 0x30]
lea eax, [esp + 0x108]
mov dword [esp], eax
mov dword [esp + 0x7c], ebx
call fcn.61549880
sub esp, 4
test al, al
je 0x6157d719
mov eax, dword [esp + 0x120]
sub ebx, 0x76c
and byte [eax + 1], 0xfd
jmp 0x6157cea3
call fcn.615e4ac0
lea ecx, [esp + 0x100]
call fcn.61549930
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.6154aec0
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x6157d6fe
mov ecx, dword [esp + 0x100]
call fcn.615bdbb0
imul eax, ebx, 0xa
mov ecx, esi
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ebx, [eax + esi - 0x30]
jmp 0x6157d6fe
mov dword [esp], 0x2d
mov ecx, edi
call fcn.6154ae80
push edx
jmp 0x6157d1f3
mov dword [esp], 0x2b
mov ecx, edi
call fcn.6154ae80
push ecx
jmp 0x6157d217