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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call fcn.005cae44
pop ecx
mov byte [ebp - 0xf0], 0x3f
mov dword [ebp - 0xec], 1
xor edx, edx
mov dword [ebp - 0xe8], edx
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
lea eax, [ebx + 0xa8]
mov dl, byte [eax]
cmp dl, byte [ebp - 0xf0]
jne 0x5cf68d
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 0xec]
je 0x5cf691
xor ecx, ecx
jmp 0x5cf696
mov ecx, 1
test ecx, ecx
je 0x5d02ce
xor esi, esi
push ebx
call fcn.005cae44
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0x3e
movsx edx, byte [ebx + 0xa8]
cmp edx, 0x3d
jg 0x5cf6e1
je 0x5cf708
sub edx, 0x21
je 0x5cf701
sub edx, 6
je 0x5cf7ee
dec edx
je 0x5cfcf4
sub edx, 0x14
je 0x5cf75d
jmp 0x5cffac
sub edx, 0x3e
je 0x5cfa28
sub edx, 0x12
je 0x5cf7db
sub edx, 2
je 0x5cfa74
jmp 0x5cffac
mov dword [ebp - 4], 1
push ebx
call fcn.005cae44
pop ecx
push 0xc
call fcn.005c6870
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5cf748
cmp dword [ebp - 4], 0
sete dl
and edx, 1
push edx
mov ecx, dword [edi]
and ecx, 0xffffffef
push ecx
push ebx
call fcn.005cd190
add esp, 8
push eax
push dword [ebp - 0xc]
call fcn.005d1130
add esp, 0xc
mov esi, eax
jmp 0x5cf74b
mov esi, dword [ebp - 0xc]
push esi
lea eax, [ebx + 0x14]
push eax
call fcn.005c789c
add esp, 8
jmp 0x5d02bb
mov dl, byte [ebx + 0xb8]
sub dl, 0x21
je 0x5cf76f
sub dl, 0x1c
je 0x5cf776
jmp 0x5cf7d3
mov dword [ebp - 4], 1
push ebx
call fcn.005cae44
pop ecx
push ebx
call fcn.005cae44
pop ecx
push 0xc
call fcn.005c6870
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5cf7bb
cmp dword [ebp - 4], 0
sete dl
and edx, 1
push edx
mov ecx, dword [edi]
or ecx, 0x10
push ecx
push ebx
call fcn.005cd190
add esp, 8
push eax
push dword [ebp - 0x14]
call fcn.005d1130
add esp, 0xc
jmp 0x5cf7be
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x5d02bb
movsx eax, byte [ebx + 0xa8]
cmp eax, 0x50
jne 0x5cf7ee
push ebx
call fcn.005cae44
pop ecx
movsx edx, byte [ebx + 0xa8]
cmp edx, 0x3c
jne 0x5cf800
mov byte [ebp - 5], 0x3e
jmp 0x5cf810
movsx ecx, byte [ebx + 0xa8]
cmp ecx, 0x27
jne 0x5cf810
mov byte [ebp - 5], 0x27
push ebx
call fcn.005cae44
pop ecx
mov eax, dword [ebx + 0xc]
inc dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
push 0x1c
call fcn.005c6870
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x5cf844
mov edx, dword [edi]
and edx, 0x10
push edx
push dword [ebp - 0x1c]
call fcn.005c6dac
add esp, 8
mov esi, eax
jmp 0x5cf847
mov esi, dword [ebp - 0x1c]
push esi
lea eax, [ebx + 0x14]
push eax
call fcn.005c789c
add esp, 8
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5cf881
test byte [edi], 0x10
je 0x5cf86f
mov edx, 1
jmp 0x5cf871
xor edx, edx
push edx
push 0xffffffffffffffff
push dword [ebp - 0x28]
call fcn.005d130c
add esp, 0xc
jmp 0x5cf884
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
lea ecx, [ebx + 0x14]
push ecx
call fcn.005c789c
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x5cf8c9
test byte [edi], 0x10
je 0x5cf8b4
xor edx, edx
jmp 0x5cf8b9
mov edx, 1
push edx
push 0xffffffffffffffff
push dword [ebp - 0x34]
call fcn.005d130c
add esp, 0xc
jmp 0x5cf8cc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
lea ecx, [ebx + 0x14]
push ecx
call fcn.005c789c
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x20]
add edx, 0xc
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x104]
push ecx
call fcn.005ce1b8
pop ecx
jmp 0x5cf954
mov al, byte [ebx + 0xa8]
mov byte [ebp - 0x39], al
push 1
push 1
lea edx, [ebp - 0x39]
push edx
push dword [ebp - 0x38]
call fcn.005d6674
add esp, 0x10
mov cl, byte [ebx + 0xa8]
and cl, 0xff
cmp cl, byte [ebx + 0xa8]
jne 0x5cf931
mov al, byte [ebx + 0xa8]
jmp 0x5cf933
xor eax, eax
mov byte [ebp - 0x3a], al
push 1
push 1
lea edx, [ebp - 0x3a]
push edx
lea ecx, [ebp - 0x104]
push ecx
call fcn.005d6674
add esp, 0x10
push ebx
call fcn.005cae44
pop ecx
cmp byte [ebx + 0xa8], 0
je 0x5cf968
mov al, byte [ebx + 0xa8]
cmp al, byte [ebp - 5]
jne 0x5cf8fc
push ebx
call fcn.005cae44
pop ecx
lea edx, [ebp - 0x104]
push edx
call fcn.005d6830
pop ecx
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.005d6a28
add esp, 8
test eax, eax
je 0x5cf9a1
mov edx, dword [ebp - 0x44]
cmp byte [edx], 0
sete cl
and ecx, 1
jmp 0x5cf9a3
xor ecx, ecx
test ecx, ecx
je 0x5cf9c2
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
push dword [ebp - 0x38]
call fcn.005d14f8
pop ecx
push dword [ebp - 0x20]
lea ecx, [esi + 4]
push ecx
call fcn.005c789c
add esp, 8
push dword [edi]
push ebx
call fcn.005cd190
add esp, 8
push eax
lea eax, [esi + 4]
push eax
call fcn.005c789c
add esp, 8
push dword [ebp - 0x2c]
lea edx, [esi + 4]
push edx
call fcn.005c789c
add esp, 8
push 0
push dword [ebp - 0x18]
lea ecx, [ebx + 0x50]
push ecx
call fcn.005d183c
add esp, 0xc
mov eax, dword [ebx + 0x5c]
mov edx, dword [ebp - 0x18]
mov dword [eax + edx*4], esi
push 2
lea ecx, [ebp - 0x104]
push ecx
call fcn.005d62ec
add esp, 8
jmp 0x5d02bb
push ebx
call fcn.005cae44
pop ecx
push 8
call fcn.005c6870
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x5cfa57
push dword [edi]
push ebx
call fcn.005cd190
add esp, 8
push eax
push dword [ebp - 0x4c]
call fcn.005d1aa8
add esp, 8
jmp 0x5cfa5a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov esi, dword [ebp - 0x48]
jmp 0x5d02bb
push ebx
call fcn.005cae44
pop ecx
jmp 0x5cfa84
push ebx
call fcn.005cae44
pop ecx
cmp byte [ebx + 0xa8], 0
je 0x5cfa9f
movsx eax, byte [ebx + 0xa8]
push eax
call fcn.005c6210
pop ecx
test eax, eax
jne 0x5cfa7d
movsx edx, byte [ebx + 0xa8]
cmp edx, 0x3c
je 0x5cfabb
movsx ecx, byte [ebx + 0xa8]
cmp ecx, 0x27
jne 0x5cfc0d
movsx eax, byte [ebx + 0xa8]
cmp eax, 0x3c
jne 0x5cfacb
mov dl, 0x3e
jmp 0x5cfacd
mov dl, 0x27
mov byte [ebp - 5], dl
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0x58], eax
test eax, eax
je 0x5cfaee
push 0xfffffffffffffffd
push dword [ebp - 0x58]
call fcn.005d2600
add esp, 8
jmp 0x5cfaf1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x50], ecx
push ebx
call fcn.005cae44
pop ecx
mov eax, dword [ebp - 0x50]
add eax, 0xc
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x118]
push edx
call fcn.005ce1b8
pop ecx
jmp 0x5cfb80
mov cl, byte [ebx + 0xa8]
mov byte [ebp - 0x5d], cl
push 1
push 1
lea eax, [ebp - 0x5d]
push eax
push dword [ebp - 0x5c]
call fcn.005d6674
add esp, 0x10
mov dl, byte [ebx + 0xa8]
and dl, 0xff
cmp dl, byte [ebx + 0xa8]
jne 0x5cfb5d
mov cl, byte [ebx + 0xa8]
jmp 0x5cfb5f
xor ecx, ecx
mov byte [ebp - 0x5e], cl
push 1
push 1
lea eax, [ebp - 0x5e]
push eax
lea edx, [ebp - 0x118]
push edx
call fcn.005d6674
add esp, 0x10
push ebx
call fcn.005cae44
pop ecx
cmp byte [ebx + 0xa8], 0
je 0x5cfb94
mov al, byte [ebx + 0xa8]
cmp al, byte [ebp - 5]
jne 0x5cfb28
push ebx
call fcn.005cae44
pop ecx
lea edx, [ebp - 0x118]
push edx
call fcn.005d6830
pop ecx
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x68]
push eax
call fcn.005d6a28
add esp, 8
test eax, eax
je 0x5cfbcd
mov edx, dword [ebp - 0x68]
cmp byte [edx], 0
sete cl
and ecx, 1
jmp 0x5cfbcf
xor ecx, ecx
test ecx, ecx
je 0x5cfbe5
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x64]
mov dword [eax + 8], edx
push dword [ebp - 0x5c]
call fcn.005d14f8
pop ecx
push dword [ebp - 0x50]
lea eax, [ebx + 0x3c]
push eax
call fcn.005d2834
add esp, 8
mov esi, dword [ebp - 0x50]
push 2
lea eax, [ebp - 0x118]
push eax
call fcn.005d62ec
add esp, 8
jmp 0x5d02bb
lea edx, [ebp - 0x12c]
push edx
call fcn.005ce1b8
pop ecx
jmp 0x5cfc58
mov cl, byte [ebx + 0xa8]
and cl, 0xff
cmp cl, byte [ebx + 0xa8]
jne 0x5cfc35
mov al, byte [ebx + 0xa8]
jmp 0x5cfc37
xor eax, eax
mov byte [ebp - 0x69], al
push 1
push 1
lea edx, [ebp - 0x69]
push edx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.005d6674
add esp, 0x10
push ebx
call fcn.005cae44
pop ecx
cmp byte [ebx + 0xa8], 0
je 0x5cfc6d
movsx eax, byte [ebx + 0xa8]
cmp eax, 0x29
jne 0x5cfc1c
xor edx, edx
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.005d6830
pop ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.005d6a28
add esp, 8
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x5cfcb1
push dword [ebp - 0x70]
push dword [ebp - 0x80]
call fcn.005d2600
add esp, 8
jmp 0x5cfcb4
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x7c]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
push dword [ebp - 0x78]
lea eax, [ebx + 0x3c]
push eax
call fcn.005d2834
add esp, 8
mov esi, dword [ebp - 0x78]
push 2
lea eax, [ebp - 0x12c]
push eax
call fcn.005d62ec
add esp, 8
jmp 0x5d02bb
push 0x28
call fcn.005c6870
pop ecx
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x5cfd14
push dword [ebp - 0x8c]
call fcn.005d2a04
pop ecx
jmp 0x5cfd1a
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x88]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
add eax, 0x1c
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x13c], 0x3f
mov dword [ebp - 0x138], 1
xor edx, edx
mov dword [ebp - 0x134], edx
xor ecx, ecx
mov dword [ebp - 0x130], ecx
lea eax, [ebx + 0xb8]
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov cl, byte [edx]
cmp cl, byte [ebp - 0x13c]
jne 0x5cfd9b
mov eax, dword [ebp - 0x94]
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0x138]
je 0x5cfd9f
xor ecx, ecx
jmp 0x5cfda4
mov ecx, 1
test ecx, ecx
je 0x5cfdbf
push edi
push ebx
call fcn.005cf638
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [edx], eax
jmp 0x5cff45
push ebx
call fcn.005cae44
pop ecx
mov esi, dword [ebx + 0xb0]
push 0xc
call fcn.005c6870
pop ecx
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x5cfdfc
push 1
push dword [edi]
push ebx
call fcn.005cd190
add esp, 8
push eax
push dword [ebp - 0x9c]
call fcn.005d1130
add esp, 0xc
jmp 0x5cfe02
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
push dword [ebp - 0x98]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
mov dword [eax], ecx
push 1
mov edx, dword [ebx + 0xb0]
sub edx, esi
push edx
lea ecx, [ebx + 0x8c]
push ecx
call fcn.005ccdf0
pop ecx
add eax, esi
push eax
mov eax, dword [ebp - 0x84]
add eax, 8
push eax
call fcn.005d6674
add esp, 0x10
lea edx, [ebp - 0x150]
push edx
call fcn.005ce1b8
pop ecx
jmp 0x5cfea7
lea eax, [ebx + 0x8c]
cmp esi, dword [eax + 8]
jl 0x5cfe73
xor edx, edx
jmp 0x5cfe79
mov ecx, dword [eax + 4]
mov dl, byte [ecx + esi]
mov eax, edx
mov ecx, eax
and cl, 0xff
cmp al, cl
je 0x5cfe86
xor eax, eax
mov byte [ebp - 0x9d], al
push 1
push 1
lea eax, [ebp - 0x9d]
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.005d6674
add esp, 0x10
inc esi
cmp esi, dword [ebx + 0xb0]
jl 0x5cfe64
lea ecx, [ebp - 0x150]
push ecx
call fcn.005d6830
pop ecx
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
push edx
call fcn.005d6a28
add esp, 8
test eax, eax
je 0x5cfeed
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx], 0
sete al
and eax, 1
jmp 0x5cfeef
xor eax, eax
test eax, eax
je 0x5cff0e
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x90]
xor edx, edx
mov dword [eax], edx
jmp 0x5cff2d
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 4], 0xffffffff
push dword [ebp - 0x84]
lea eax, [ebx + 0x78]
push eax
call fcn.005d2bb4
add esp, 8
push ebx
call fcn.005cae44
pop ecx
push 2
lea edx, [ebp - 0x150]
push edx
call fcn.005d62ec
add esp, 8
mov ecx, dword [edi]
mov dword [ebp - 0xac], ecx
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.005ce418
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x20], eax
movsx ecx, byte [ebx + 0xa8]
cmp ecx, 0x7c
jne 0x5cff8f
push ebx
call fcn.005cae44
pop ecx
push dword [edi]
push ebx
call fcn.005cd190
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x24], eax
jmp 0x5cff9a
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov dword [eax + 0x24], ecx
mov esi, dword [ebp - 0x84]
jmp 0x5d02bb
push ebx
call fcn.005cae44
pop ecx
cmp byte [ebx + 0xa8], 0
je 0x5cffc7
movsx eax, byte [ebx + 0xa8]
push eax
call fcn.005c6210
pop ecx
test eax, eax
jne 0x5cffa5
movsx edx, byte [ebx + 0xa8]
cmp edx, 0x30
jl 0x5d00fe
movsx ecx, byte [ebx + 0xa8]
cmp ecx, 0x39
jg 0x5d00fe
lea eax, [ebp - 0x164]
push eax
call fcn.005ce1b8
pop ecx
jmp 0x5d0038
mov dl, byte [ebx + 0xa8]
and dl, 0xff
cmp dl, byte [ebx + 0xa8]
jne 0x5d000f
mov cl, byte [ebx + 0xa8]
jmp 0x5d0011
xor ecx, ecx
mov byte [ebp - 0xad], cl
push 1
push 1
lea eax, [ebp - 0xad]
push eax
lea edx, [ebp - 0x164]
push edx
call fcn.005d6674
add esp, 0x10
push ebx
call fcn.005cae44
pop ecx
cmp byte [ebx + 0xa8], 0
je 0x5d004d
movsx eax, byte [ebx + 0xa8]
cmp eax, 0x29
jne 0x5cfff6
xor edx, edx
mov dword [ebp - 0xb4], edx
lea ecx, [ebp - 0x164]
push ecx
call fcn.005d6830
pop ecx
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb4]
push eax
lea edx, [ebp - 0xb8]
push edx
call fcn.005d6a28
add esp, 8
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x5d00a6
push dword [ebp - 0xb4]
push dword [ebp - 0xc4]
call fcn.005d2600
add esp, 8
jmp 0x5d00ac
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
lea edx, [ebx + 0x14]
push edx
call fcn.005c789c
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ecx
push dword [ebp - 0xbc]
lea eax, [ebx + 0x3c]
push eax
call fcn.005d2834
add esp, 8
mov esi, dword [ebp - 0xbc]
push 2
lea eax, [ebp - 0x164]
push eax
call fcn.005d62ec
add esp, 8
jmp 0x5d02bb
mov esi, dword [edi]
jmp 0x5d0176
xor eax, eax
movsx edx, byte [ebx + 0xa8]
cmp edx, 0x53
jg 0x5d0128
je 0x5d0145
sub edx, 0x2d
je 0x5d015a
sub edx, 0x1a
je 0x5d0153
sub edx, 2
je 0x5d013e
sub edx, 4
je 0x5d014c
jmp 0x5d0161
sub edx, 0x67
je 0x5d0153
sub edx, 2
je 0x5d013e
sub edx, 4
je 0x5d014c
sub edx, 6
je 0x5d0145
jmp 0x5d0161
mov eax, 8
jmp 0x5d0161
mov eax, 1
jmp 0x5d0161
mov eax, 2
jmp 0x5d0161
mov eax, 4
jmp 0x5d0161
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x5d016d
not eax
and esi, eax
jmp 0x5d016f
or esi, eax
push ebx
call fcn.005cae44
pop ecx
mov byte [ebp - 0x174], 0
mov dword [ebp - 0x170], 1
xor edx, edx
mov dword [ebp - 0x16c], edx
xor ecx, ecx
mov dword [ebp - 0x168], ecx
lea eax, [ebx + 0xa8]
mov dl, byte [eax]
cmp dl, byte [ebp - 0x174]
jne 0x5d01b2
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x170]
je 0x5d01b6
xor eax, eax
jmp 0x5d01bb
mov eax, 1
test eax, eax
jne 0x5d0224
movsx edx, byte [ebx + 0xa8]
cmp edx, 0x3a
je 0x5d0224
movsx ecx, byte [ebx + 0xa8]
cmp ecx, 0x29
je 0x5d0224
mov byte [ebp - 0x184], 0x28
mov dword [ebp - 0x180], 1
xor edx, edx
mov dword [ebp - 0x17c], edx
xor ecx, ecx
mov dword [ebp - 0x178], ecx
lea eax, [ebx + 0xa8]
mov dl, byte [eax]
cmp dl, byte [ebp - 0x184]
jne 0x5d0213
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 0x180]
je 0x5d0217
xor ecx, ecx
jmp 0x5d021c
mov ecx, 1
test ecx, ecx
je 0x5d0102
movsx eax, byte [ebx + 0xa8]
cmp eax, 0x3a
je 0x5d028b
mov byte [ebp - 0x194], 0x28
mov dword [ebp - 0x190], 1
xor edx, edx
mov dword [ebp - 0x18c], edx
xor ecx, ecx
mov dword [ebp - 0x188], ecx
lea eax, [ebx + 0xa8]
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov cl, byte [edx]
cmp cl, byte [ebp - 0x194]
jne 0x5d027e
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0x190]
je 0x5d0282
xor ecx, ecx
jmp 0x5d0287
mov ecx, 1
test ecx, ecx
je 0x5d02ac
movsx eax, byte [ebx + 0xa8]
cmp eax, 0x3a
jne 0x5d029e
push ebx
call fcn.005cae44
pop ecx
push esi
push ebx
call fcn.005cd190
add esp, 8
mov esi, eax
jmp 0x5d02bb
mov dword [edi], esi
push 0
push ebx
call fcn.005cd458
add esp, 8
mov esi, eax
push ebx
call fcn.005cae44
pop ecx
mov eax, esi
jmp 0x5d0428
push 0x1c
call fcn.005c6870
pop ecx
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x5d02f8
mov edx, dword [edi]
and edx, 0x10
push edx
push dword [ebp - 0xcc]
call fcn.005c6dac
add esp, 8
mov esi, eax
jmp 0x5d02fe
mov esi, dword [ebp - 0xcc]
push esi
lea eax, [ebx + 0x14]
push eax
call fcn.005c789c
add esp, 8
inc dword [ebx + 8]
mov edx, dword [ebx + 8]
mov dword [ebp - 0xd0], edx
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x5d034e
test byte [edi], 0x10
je 0x5d0335
mov edx, 1
jmp 0x5d0337
xor edx, edx
push edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd8]
call fcn.005d130c
add esp, 0xc
jmp 0x5d0354
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
lea ecx, [ebx + 0x14]
push ecx
call fcn.005c789c
add esp, 8
mov eax, dword [ebp - 0xd4]
push eax
lea edx, [esi + 4]
push edx
call fcn.005c789c
add esp, 8
push dword [edi]
push ebx
call fcn.005cd190
add esp, 8
push eax
lea ecx, [esi + 4]
push ecx
call fcn.005c789c
add esp, 8
push 0x20
call fcn.005c6870
pop ecx
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x5d03ce
test byte [edi], 0x10
je 0x5d03b2
xor edx, edx
jmp 0x5d03b7
mov edx, 1
push edx
push dword [ebp - 0xd0]
push dword [ebp - 0xe0]
call fcn.005d130c
add esp, 0xc
jmp 0x5d03d4
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
lea ecx, [ebx + 0x14]
push ecx
call fcn.005c789c
add esp, 8
mov eax, dword [ebp - 0xdc]
push eax
lea edx, [esi + 4]
push edx
call fcn.005c789c
add esp, 8
push 0
push dword [ebp - 0xd0]
lea ecx, [ebx + 0x28]
push ecx
call fcn.005c7a8c
add esp, 0xc
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp - 0xd0]
mov dword [eax + edx*4], esi
push ebx
call fcn.005cae44
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret