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

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], 0x457d10
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.004d5a00
add esp, 0xc
mov dword [esi + 0x54], edi
mov dword [esi + 0x1c], edi
mov eax, 0x190
add edi, eax
mov dword [esi + 0x64], edi
xor ecx, ecx
dec ecx
mov dword [esi + 0x60], ecx
mov al, 0xff
lea edx, [esi + 0x5c]
mov dword [edx], ecx
lea ecx, [esi + 0x1b]
mov byte [ecx], al
lea ecx, [esi + 0x1a]
mov byte [ecx], al
mov dword [esi + 0x58], fcn.004ff490
mov dword [ebx + 8], 1
xor eax, eax
lea ebx, [esi + 0x68]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
lea edi, [esi + 0x28]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
lea edx, [esi + 0x48]
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], eax
lea ecx, [esi + 0x38]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], eax
movzx eax, byte [ebp + 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0x5c]
push eax
push ecx
push edx
push edi
mov dword [esi + 0x20], ebx
push ebx
lea ecx, [esi + 0x1a]
push ecx
lea ecx, [esi + 0x1b]
push ecx
lea eax, [esi + 0x60]
push eax
push dword [ebp + 0x14]
push dword [esi + 4]
call fcn.0043b5b0
add esp, 0x28
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov ebx, edx
mov dword [esi + 0x24], edx
cmp edx, 3
mov dword [esi + 0x10], ecx
ja 0x511881
mov ecx, dword [edi]
xor edx, edx
test ecx, ecx
je 0x510c92
mov dword [esi + 4], eax
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511176
mov edx, ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x51185e
xor eax, eax
test edx, edx
je 0x511881
mov dword [esi + 4], eax
mov eax, dword [esi + 0x24]
movsx eax, byte [esi + eax + 0x60]
cmp eax, 4
ja case.default.0x510cbb
jmp dword [eax*4 + 0x511d08]
cmp dword [esi + 0x24], 3
je 0x510fa7
mov ecx, dword [edi]
xor edx, edx
test ecx, ecx
je 0x510ce2
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x510d7c
mov edx, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x5117f0
xor eax, eax
test edx, edx
je 0x510faa
mov dword [esi + 4], eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x510d53
movzx eax, byte [eax]
test al, al
js 0x510fa7
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
movsx eax, al
test byte [ecx + eax*2], 8
je 0x510fa7
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x510d69
lea edx, [eax + 1]
mov dword [ecx + 0xc], edx
movzx eax, byte [eax]
mov dword [esi + 0x228], 1
movsx eax, al
lea ecx, [esi + 0x78]
push eax
call fcn.004b8380
mov edi, dword [ebp + 8]
jmp 0x510ccc
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x510d07
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
jmp 0x510d3f
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, 0
jne 0x5117af
mov dword [edi], 0
jmp 0x510ce2
mov ah, byte [ebx]
cmp ah, byte [edi]
jne 0x5116f7
inc ebx
inc edi
cmp ebx, dword [esi + 0x14]
jne 0x510da9
jmp 0x51171b
xor ebx, ebx
mov ecx, dword [edi]
mov edx, 0
test ecx, ecx
je 0x510dda
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x510ee8
mov edx, ecx
cmp dword [esi + 4], 0
jne 0x5117d2
mov dword [esi + 4], 0
test edx, edx
je 0x510fc5
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x510e60
movzx edx, byte [eax]
test dl, dl
js 0x510e17
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 8]
movsx ecx, dl
test byte [eax + ecx*2], 4
jne 0x510e9d
movzx eax, byte [esi + 0x73]
test al, al
jns 0x510e22
mov eax, dword [esi + 0x6c]
cmp byte [esi + 0x1a], dl
jne 0x510fc5
test ebx, ebx
je 0x510fc5
test eax, eax
je 0x510fc5
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x64]
je 0x510eb9
lea ecx, [eax + 4]
mov dword [esi + 0x1c], ecx
mov dword [eax], ebx
xor ebx, ebx
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x510e7e
inc eax
mov dword [ecx + 0xc], eax
jmp 0x510dc1
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
mov edx, eax
jmp 0x510e00
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
jmp 0x510dc1
mov dword [esi + 0x14], edx
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
je 0x510f18
mov edx, ecx
lea ecx, [eax + 1]
mov dword [edx], ecx
mov ecx, dword [esi + 0x14]
mov byte [eax], cl
inc ebx
jmp 0x510e4d
mov dword [esi + 0x228], 1
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x54]
push eax
mov dword [esi + 8], ebx
call fcn.00511e10
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esi + 0x1c]
jmp 0x510e43
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x5117a8
mov dword [edi], 0
xor edx, edx
jmp 0x510dda
mov dword [esi + 0x228], 1
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
mov dword [esi + 8], ebx
call fcn.00511d20
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
jmp 0x510eaa
test ecx, ecx
mov eax, dword [esi + 0x24]
jne 0x5111be
cmp eax, 2
jb 0x5111be
cmp eax, 2
sete al
cmp byte [esi + 0x63], 0
setne cl
test al, cl
jne 0x5113d7
mov eax, dword [ebp + 0x18]
and eax, 0x200
jne 0x5113d7
xor ecx, ecx
jmp case.default.0x510cbb
movzx edx, byte [esi + 0x53]
mov eax, edx
test dl, dl
jns 0x510f8d
mov eax, dword [esi + 0x4c]
movzx ebx, byte [esi + 0x43]
mov edi, ebx
test bl, bl
jns 0x510f9a
mov edi, dword [esi + 0x3c]
mov ecx, eax
add ecx, edi
jne 0x5111fd
mov edi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x24]
inc edx
jmp 0x510c65
cmp dword [esi + 0x24], 3
jne 0x511225
mov eax, dword [esi + 4]
jmp 0x510fad
test ebx, ebx
je 0x510fe2
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x54], eax
je 0x510fe2
cmp eax, dword [esi + 0x64]
je 0x5114a5
lea ecx, [eax + 4]
mov dword [esi + 0x1c], ecx
mov dword [eax], ebx
cmp dword [esi + 0x5c], 0
jle 0x5111a3
mov ecx, dword [edi]
xor edx, edx
test ecx, ecx
je 0x511002
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x51166c
mov edx, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x511ba1
mov dword [esi + 4], 0
test edx, edx
je 0x511a02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x5113f5
movzx eax, byte [eax]
cmp byte [esi + 0x1b], al
jne 0x511a02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x51140e
inc eax
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x5c], 0
jle 0x5111a3
mov ecx, dword [edi]
xor edx, edx
test ecx, ecx
je 0x511068
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511149
mov edx, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x5119e5
mov dword [esi + 4], 0
test edx, edx
je 0x511a02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x51111a
movzx eax, byte [eax]
test al, al
js 0x511a02
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
movsx eax, al
test byte [ecx + eax*2], 4
je 0x511a02
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x5110d7
mov dword [esi + 0x228], 1
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.00511d20
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511133
movzx eax, byte [eax]
mov ebx, dword [ebp + 0x2c]
mov ecx, dword [ebx]
lea edx, [ecx + 1]
mov dword [ebx], edx
mov byte [ecx], al
dec dword [esi + 0x5c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x511044
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x511048
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x511093
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x5110e4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, 0
jne 0x5117c4
mov dword [edi], 0
jmp 0x511068
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, 0
jne 0x5117bd
mov dword [edi], 0
jmp 0x510c8f
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x28]
cmp eax, dword [ecx]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
jne 0x510fad
jmp 0x511a02
mov edx, eax
mov ah, byte [esi + 0x33]
test ah, ah
mov ecx, dword [esi + 0x28]
lea ebx, [esi + 0x28]
cmovs ebx, ecx
test edx, edx
je 0x51128c
mov dword [esi + 8], ebx
mov byte [esi + 0xf], ah
shr ah, 7
mov ebx, dword [esi + 0x24]
lea edx, [esi + 0x60]
cmp byte [ebx + edx - 1], 1
ja 0x511286
test ah, ah
jne 0x51152d
jmp 0x511535
test eax, eax
je 0x51145e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edi, edi
je 0x511588
cmp eax, ebx
jne 0x51157a
jmp 0x511699
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511474
movzx eax, byte [eax]
test al, al
js 0x511a02
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 8]
movsx eax, al
test byte [ecx + eax*2], 8
je 0x511a02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x5114d4
lea edx, [eax + 1]
mov dword [ecx + 0xc], edx
movzx eax, byte [eax]
mov dword [esi + 0x228], 1
movsx eax, al
lea ecx, [esi + 0x78]
push eax
call fcn.004b8380
mov edi, dword [ebp + 8]
jmp 0x510ccc
mov ebx, dword [esi + 8]
mov ah, byte [esi + 0xf]
test ah, ah
movzx eax, ah
cmovs eax, dword [esi + 0x2c]
lea edx, [esi + 0x28]
cmovns ecx, edx
add eax, ecx
cmp ebx, eax
je 0x511366
mov ecx, dword [edi]
xor edx, edx
test ecx, ecx
je 0x5112b7
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511333
mov edx, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x511812
xor eax, eax
test edx, edx
je 0x511369
mov dword [esi + 4], eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x5112fb
movzx eax, byte [eax]
cmp byte [ebx], al
jne 0x511366
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511317
inc eax
mov dword [ecx + 0xc], eax
inc ebx
mov ah, byte [esi + 0x33]
mov ecx, dword [esi + 0x28]
jmp 0x51128c
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
jmp 0x5112dc
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
jmp 0x5112f2
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, 0
jne 0x5117b6
mov dword [edi], 0
jmp 0x5112b7
mov eax, dword [esi + 4]
bt dword [ebp + 0x18], 9
jae 0x510faa
mov edx, eax
movzx eax, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test al, al
jns 0x511387
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
add ecx, eax
cmp ebx, ecx
mov eax, edx
mov ecx, dword [esi + 0x10]
je 0x510fad
jmp 0x511a02
mov ebx, dword [esi + 8]
mov edx, ebx
test eax, eax
je 0x5114ed
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 8]
mov dword [esi + 0x14], edx
add eax, ebx
mov edx, ebx
movzx ebx, byte [edx]
test bl, bl
js 0x5114ea
mov edi, dword [esi + 0x14]
test byte [edi + ebx*2], 8
je 0x5114ea
inc edx
cmp edx, eax
jne 0x5113b5
jmp 0x5116e1
mov al, byte [esi + 0x33]
mov ah, al
shr ah, 7
mov byte [esi + 0xf], al
test al, al
mov ecx, dword [esi + 0x28]
lea ebx, [esi + 0x28]
cmovs ebx, ecx
mov dword [esi + 8], ebx
jmp 0x5111df
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x51102d
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x511048
lea ebx, [esi + 0x48]
test dl, dl
js 0x5115c7
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
cmp byte [ebx], al
jne 0x5115e4
jmp 0x5115cf
mov ecx, dword [esi + 0x10]
cmp eax, 1
lea eax, [esi + 0x38]
cmova ecx, eax
jmp case.default.0x510cbb
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x5115bf
jmp 0x5116ba
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x511236
lea ecx, [esi + 0x38]
test bl, bl
js 0x51162c
cmp byte [ecx], al
je 0x511634
jmp 0x510fa7
mov dword [esi + 0x228], 1
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x54]
push eax
mov dword [esi + 8], ebx
call fcn.00511e10
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esi + 0x1c]
jmp 0x510fda
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
jmp 0x511272
mov ebx, dword [esi + 8]
mov edi, edx
sub edi, ebx
movzx eax, byte [esi + 0x83]
mov dword [esi + 0x14], eax
test al, al
js 0x51153e
mov dword [esi + 0x84], edi
cmp edi, dword [esi + 0x14]
mov edi, dword [ebp + 8]
jbe 0x511552
jmp 0x511289
test dl, dl
js 0x51165c
jmp 0x511664
mov ecx, dword [esi + 0x10]
cmp eax, 1
lea eax, [esi + 0x48]
jmp 0x511456
mov eax, dword [esi + 0x2c]
jmp 0x51139b
movzx eax, byte [esi + 0xf]
jmp 0x51139b
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x84]
jmp 0x5114ff
lea ebx, [esi + 0x78]
test al, al
jns 0x51155c
mov ebx, dword [esi + 0x78]
mov eax, dword [esi + 0x84]
test eax, eax
je 0x5116e8
add ebx, dword [esi + 0x14]
mov dword [esi + 0x14], ebx
sub ebx, eax
mov edi, dword [esi + 8]
jmp 0x510da9
movzx eax, byte [eax]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
jmp 0x511427
cmp eax, ebx
je 0x5116ff
movzx eax, byte [eax]
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x48]
test dl, dl
jns 0x5115a0
mov ecx, dword [esi + 0x48]
cmp byte [ecx], al
jne 0x5116d6
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511792
inc eax
mov dword [ecx + 0xc], eax
jmp 0x511512
movzx eax, byte [eax]
jmp 0x51148d
mov ebx, dword [esi + 0x48]
jmp 0x511432
cmp edi, dword [esi + 0x14]
je 0x511725
inc edi
mov dword [ecx + 0xc], edi
mov edi, dword [ebp + 8]
jmp 0x511512
cmp edi, dword [esi + 0x14]
je 0x511741
movzx eax, byte [edi]
mov edi, dword [ebp + 8]
mov dl, byte [esi + 0x43]
lea ecx, [esi + 0x38]
test dl, dl
jns 0x511600
mov ecx, dword [esi + 0x38]
cmp byte [ecx], al
jne 0x511a02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x51175a
inc eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test dl, dl
js 0x511654
movzx eax, dl
jmp 0x51144d
mov ecx, dword [esi + 0x38]
jmp 0x511498
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511776
inc eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test bl, bl
jns 0x5116ef
mov eax, dword [esi + 0x3c]
jmp 0x51144d
mov eax, dword [esi + 0x4c]
jmp 0x51151f
movzx eax, dl
jmp 0x51151f
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, 0
jne 0x5117cb
mov dword [edi], 0
jmp 0x511002
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], ecx
mov dl, byte [esi + 0x53]
jmp 0x511427
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
mov bl, byte [esi + 0x43]
jmp 0x51148d
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x510fa7
mov edx, eax
jmp 0x5114ea
mov ebx, edx
jmp 0x511289
movzx eax, bl
jmp 0x51144d
mov edi, dword [ebp + 8]
jmp 0x511286
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
mov dl, byte [esi + 0x53]
jmp 0x511596
mov ebx, edx
mov edi, dword [ebp + 8]
jmp 0x511289
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
mov dl, byte [esi + 0x53]
jmp 0x511512
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x5115f3
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
mov dl, byte [esi + 0x43]
jmp 0x51161a
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
mov bl, byte [esi + 0x43]
jmp 0x511646
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
jmp 0x511739
mov edx, dword [edi]
jmp 0x510dda
mov edx, dword [edi]
jmp 0x510ce2
mov edx, dword [edi]
jmp 0x5112b7
mov edx, dword [edi]
jmp 0x510c8f
mov edx, dword [edi]
jmp 0x511068
mov edx, dword [edi]
jmp 0x511002
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
je 0x511834
test edx, edx
je 0x510df3
jmp 0x510fc5
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov eax, dword [esi + 4]
je 0x511a9d
test edx, edx
je 0x510cf7
jmp 0x510faa
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov eax, dword [esi + 4]
je 0x511aca
test edx, edx
je 0x5112cc
jmp 0x511369
mov dword [esi + 0x14], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, dword [esi + 0x14]
jne 0x5117e3
jmp 0x510de4
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 4]
je 0x511b1b
test edx, edx
je 0x510ca7
test ecx, ecx
je 0x511977
mov dword [esi + 4], eax
xor edx, edx
inc edx
mov ecx, dword [esi + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x51189d
mov eax, dword [ecx + 4]
cmp edx, eax
mov eax, dword [esi + 4]
jae 0x511977
mov ecx, dword [edi]
xor ebx, ebx
test ecx, ecx
je 0x5118c1
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511948
mov ebx, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x511afd
mov dword [esi + 4], 0
test ebx, ebx
je 0x511a02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x51190d
movzx eax, byte [eax]
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0xb], 0
jns 0x5118f3
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
cmp byte [ecx + edx], al
jne 0x511a02
inc edx
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x511929
inc eax
mov dword [ecx + 0xc], eax
jmp 0x51188f
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], edx
call eax
mov edx, dword [esi + 8]
mov edi, dword [ebp + 8]
jmp 0x5118e5
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x228], 1
mov dword [esi + 8], edx
call eax
mov edx, dword [esi + 8]
mov edi, dword [ebp + 8]
jmp 0x51188f
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], edx
call eax
mov edx, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov ebx, 0
jne 0x5119de
mov dword [edi], 0
jmp 0x5118be
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x1c]
mov dl, 1
mov dword [esi + 4], edx
cmp ecx, eax
je 0x511a0f
movzx edx, byte [esi + 0x73]
mov edi, edx
test dl, dl
jns 0x511997
mov edi, dword [esi + 0x6c]
test edi, edi
je 0x511a0f
mov edi, eax
sub edi, ecx
cmp edi, 5
jl 0x511a0f
add eax, 0xfffffffc
cmp eax, ecx
jbe 0x511be3
mov edx, eax
mov edi, ecx
mov ebx, dword [edi]
mov dword [esi + 8], ebx
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [esi + 8]
mov dword [edx], ebx
add edi, 4
add edx, 0xfffffffc
cmp edi, edx
jb 0x5119b3
mov dl, byte [esi + 0x73]
test dl, dl
jns 0x511bef
mov edi, dword [esi + 0x68]
jmp 0x511bf2
mov ebx, dword [edi]
jmp 0x5118be
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
je 0x511b4b
test edx, edx
je 0x511082
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
mov dword [esi + 4], 0
cmp byte [esi + 0x83], 0
jns 0x511a23
push dword [esi + 0x78]
call fcn.004cf0d6
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x511a34
push dword [esi + 0x38]
call fcn.004cf0d6
add esp, 4
cmp byte [esi + 0x53], 0
jns 0x511a45
push dword [esi + 0x48]
call fcn.004cf0d6
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x511a56
push dword [esi + 0x28]
call fcn.004cf0d6
add esp, 4
cmp byte [esi + 0x73], 0
jns 0x511a67
push dword [esi + 0x68]
call fcn.004cf0d6
add esp, 4
mov eax, dword [esi + 0x54]
mov dword [esi + 0x54], 0
test eax, eax
je 0x511a86
mov dword [esi + 0x228], 0
push eax
call dword [esi + 0x58]
add esp, 4
mov eax, dword [esi + 0x220]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 8], edx
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
jne 0x511805
jmp 0x510ced
mov dword [esi + 0x14], edx
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], ebx
call eax
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x14]
jne 0x511827
jmp 0x5112c2
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
je 0x511b73
test ebx, ebx
je 0x5118d8
jmp 0x511a02
mov dword [esi + 8], edx
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 8]
jne 0x511879
jmp 0x510c9d
mov dword [esi + 8], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, dword [esi + 8]
jne 0x5119fa
jmp 0x511073
mov dword [esi + 0x24], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
mov dword [esi + 8], edx
call eax
mov edx, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov ebx, dword [esi + 0x24]
jne 0x511b0e
jmp 0x5118c9
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
je 0x511bbf
test edx, edx
je 0x51101c
jmp 0x511a02
mov dword [esi + 8], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x228], 1
call eax
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
mov edx, dword [esi + 8]
jne 0x511bb2
jmp 0x51100d
test dl, dl
jns 0x511c39
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x20], ecx
jmp 0x511c39
lea edi, [esi + 0x68]
mov dword [esi + 0x20], edi
cmp eax, ecx
jbe 0x511c39
test dl, dl
jns 0x511c02
mov edi, dword [esi + 0x6c]
jmp 0x511c05
movzx edi, dl
add edi, dword [esi + 0x20]
mov edx, dword [esi + 0x20]
movzx ebx, byte [edx]
mov edx, ebx
dec dl
cmp dl, 0x7d
ja 0x511c1f
cmp dword [ecx], ebx
jne 0x511a02
mov edx, edi
mov ebx, dword [esi + 0x20]
sub edx, ebx
cmp edx, 1
lea edx, [ebx + 1]
cmovg ebx, edx
mov dword [esi + 0x20], ebx
add ecx, 4
cmp ecx, eax
jb 0x511c08
mov ecx, dword [esi + 0x20]
movzx ecx, byte [ecx]
mov edx, ecx
dec dl
cmp dl, 0x7d
ja 0x511a0f
mov eax, dword [eax]
dec eax
cmp eax, ecx
jae 0x511a02
jmp 0x511a0f