Function at 0x59efb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f8b68
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
call fcn.005a0ba0
mov esi, dword [ebp + 8]
test esi, esi
je 0x59f125
cmp byte [esi + 0xc], 0x45
jne 0x59f042
cmp byte [esi + 0xd], 0x2d
jne 0x59f042
cmp byte [esi + 0xe], 0x53
jne 0x59f042
cmp byte [esi + 0xf], 0x61
jne 0x59f042
cmp byte [esi + 0x10], 0x66
jne 0x59f042
cmp byte [esi + 0x11], 0x65
jne 0x59f042
cmp byte [esi + 0x12], 0x4e
jne 0x59f042
cmp byte [esi + 0x13], 0x65
jne 0x59f042
cmp byte [esi + 0x14], 0x74
jne 0x59f042
mov ecx, 0x10
mov eax, 0x31
add edi, ecx
xor bl, bl
mov dword [edi], eax
jmp 0x59fadf
cmp byte [esi + 5], 0x46
jne 0x59f099
cmp byte [esi + 6], 0x61
jne 0x59f099
cmp byte [esi + 7], 0x73
jne 0x59f099
cmp byte [esi + 8], 0x6f
jne 0x59f099
cmp byte [esi + 9], 0x6f
jne 0x59f099
cmp byte [esi + 0xa], 0x53
jne 0x59f099
cmp byte [esi + 0xb], 0x65
jne 0x59f099
cmp byte [esi + 0xc], 0x63
jne 0x59f099
cmp byte [esi + 0xd], 0x75
jne 0x59f099
cmp byte [esi + 0xe], 0x72
jne 0x59f099
cmp byte [esi + 0xf], 0x65
jne 0x59f099
mov ecx, 0x10
mov eax, 0x2d
add edi, ecx
xor bl, bl
mov dword [edi], eax
jmp 0x59fadf
cmp byte [esi + 0x10], 0xd5
lea eax, [esi + 0x10]
jne 0x59f0f0
inc eax
cmp byte [eax], 0xe2
jne 0x59f0f0
inc eax
cmp byte [eax], 0xca
jne 0x59f0f0
inc eax
cmp byte [eax], 0xc7
jne 0x59f0f0
inc eax
cmp byte [eax], 0xb8
jne 0x59f0f0
inc eax
cmp byte [eax], 0xf6
jne 0x59f0f0
inc eax
cmp byte [eax], 0xbc
jne 0x59f0f0
inc eax
cmp byte [eax], 0xd3
jne 0x59f0f0
inc eax
cmp byte [eax], 0xc3
jne 0x59f0f0
inc eax
cmp byte [eax], 0xdc
jne 0x59f0f0
inc eax
cmp byte [eax], 0xce
jne 0x59f0f0
inc eax
cmp byte [eax], 0xc4
jne 0x59f0f0
inc eax
cmp byte [eax], 0xbc
jne 0x59f0f0
inc eax
cmp byte [eax], 0xfe
je 0x59f114
xor al, al
cmp byte [esi], 0x84
mov byte [ebp + 0xb], al
jne 0x59f12c
cmp byte [esi + 1], 0x7d
jne 0x59f12c
cmp byte [esi + 2], 0x1c
jne 0x59f12c
mov bl, 1
mov dword [edi + 0x10], 0x2f
mov byte [ebp + 0xb], bl
jmp 0x59f12f
add edi, 0x10
mov eax, 0x2b
xor bl, bl
mov dword [edi], eax
jmp 0x59fadf
xor bl, bl
mov byte [ebp + 0xb], bl
jmp 0x59f12f
mov bl, byte [ebp + 0xb]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], eax
mov dword [edi + 0x14], esi
cmp dword [esi], eax
mov byte [ebp - 4], 4
sete al
add esi, 4
jne 0x59f18d
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x34
jmp 0x59fac5
mov edx, dword [esi]
mov dword [edi + 0xc], edx
test edx, edx
jns 0x59f1aa
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x35
jmp 0x59fac5
xor ecx, ecx
movzx eax, al
test edx, edx
cmove ecx, eax
add esi, 4
mov dword [ebp - 0x34], ecx
mov dword [edi + 0x18], esi
lea eax, [edx + esi]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x59f1db
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x36
jmp 0x59fac5
mov eax, dword [esi]
add edx, eax
mov dword [ebp - 0x18], eax
cmp eax, 0x64
ja 0x59faba
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
movzx eax, al
cmove ecx, eax
add esi, 4
jne 0x59f212
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x38
jmp 0x59fac5
mov eax, dword [esi]
add edx, eax
mov dword [ebp - 0x20], eax
cmp eax, 0x64
ja 0x59faad
cmp dword [ebp - 0x20], 0
movzx eax, cl
mov ecx, 0
cmove ecx, eax
add esi, 4
jne 0x59f24a
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x3a
jmp 0x59fac5
mov eax, dword [esi]
add edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], edx
cmp eax, 0x64
ja 0x59faa0
cmp dword [ebp - 0x28], 0
movzx eax, cl
mov ecx, 0
cmove ecx, eax
mov dword [ebp - 0x34], 0
add esi, 4
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x18], 0
jle 0x59f410
xor ecx, ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 5
test esi, esi
je 0x59f5a5
movsx eax, word [esi]
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
jle 0x59f58a
cmp eax, 0x64
jge 0x59f58a
add esi, 2
je 0x59f56f
movsx edi, word [esi]
add eax, edi
mov dword [ebp - 0x30], edi
add edx, eax
mov eax, edi
mov edi, dword [ebp - 0x14]
test eax, eax
js 0x59f554
add esi, 2
mov dword [ebp - 0x2c], ecx
test eax, eax
jle 0x59f346
nop dword [eax]
test esi, esi
je 0x59f4bd
movsx eax, word [esi]
add edx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], edx
cmp eax, 0xc
ja 0x59f49e
add esi, 2
cmp ecx, dword [ebp - 0x80]
je 0x59f321
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x84], ecx
jmp 0x59f33a
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0051f6b0
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x30]
jl 0x59f2f0
test esi, esi
je 0x59f539
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x7c], eax
add esi, 4
je 0x59f51a
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x78], eax
add esi, 4
je 0x59f4fb
mov ecx, dword [esi]
mov dword [ebp - 0x74], ecx
add esi, 4
je 0x59f4dc
mov eax, dword [esi]
add esi, 4
mov dword [ebp - 0x70], eax
add eax, ecx
add eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
add eax, dword [ebp - 0x30]
add edx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
push ecx
cmp eax, dword [ebp - 0x4c]
je 0x59f3af
mov ecx, eax
call fcn.0051dc10
add dword [ebp - 0x50], 0x20
jmp 0x59f3b8
push eax
lea ecx, [ebp - 0x54]
call fcn.0051d7b0
mov ecx, dword [ebp - 0x88]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x59f3fd
mov eax, dword [ebp - 0x80]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x59f3f3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59fb70
push edx
push ecx
call fcn.005be247
add esp, 8
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x18]
jl 0x59f283
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
jle 0x59f5ef
test esi, esi
je 0x59f666
mov ecx, dword [esi]
mov dword [ebp - 0x7c], ecx
add esi, 4
je 0x59f652
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x78], eax
add esi, 4
je 0x59f63e
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x74], eax
add esi, 4
je 0x59f62a
mov edi, dword [esi]
add eax, edi
add eax, dword [ebp - 0x34]
add esi, 4
add eax, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x70], edi
add edx, eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x38]
je 0x59f5c0
mov eax, dword [ebp - 0x34]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xc], eax
add edi, 0x10
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x68], edi
jmp 0x59f5dc
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x41
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x40
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x45
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x44
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x43
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x42
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x3f
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x3e
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10], 0x3d
call fcn.0051de50
jmp 0x59fac5
test bl, bl
jne 0x59f5b0
mov dword [edi + 0x10], 0x3c
lea ecx, [ebp - 0x8c]
call fcn.0051de50
jmp 0x59fac5
lea eax, [ebp - 0x7c]
push eax
push edi
lea ecx, [ebp - 0x6c]
call fcn.0051f590
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x20]
jl 0x59f421
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0
jle 0x59f6a6
test esi, esi
je 0x59f6c3
mov eax, dword [esi]
add edx, eax
mov ecx, dword [ebp - 0x24]
add esi, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebp - 0x3c]
je 0x59f67a
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x5c], ecx
jmp 0x59f696
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x49
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x48
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x47
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x46
jmp 0x59fac5
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004e4690
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x28]
jl 0x59f600
test edx, edx
jne 0x59f6d7
cmp byte [ebp - 0x44], dl
je 0x59f6d7
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x5a
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x4a
jmp 0x59fac5
cmp dword [ebp - 0x48], esi
je 0x59f6f0
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x4b
jmp 0x59fac5
sub esp, 0xc
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0051d9b0
sub esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.0051d9b0
sub esp, 0xc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
call fcn.004eb0d0
sub esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.0051da70
sub esp, 0xc
mov byte [ebp - 4], 9
lea eax, [ebp - 0x54]
mov ecx, esp
push eax
call fcn.0051db30
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.005a1ab0
test al, al
jne 0x59f775
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x4c
jmp 0x59fac5
mov dword [edi + 0x1c], esi
test esi, esi
jne 0x59f790
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x4d
jmp 0x59fac5
mov ecx, dword [esi + 4]
cmp ecx, dword [ebp + 0xc]
je 0x59f7ac
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x4e
jmp 0x59fac5
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [esi + 8]
test eax, eax
jg 0x59f7d0
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x4f
jmp 0x59fac5
mov edx, dword [esi + 0xc]
add ecx, eax
test edx, edx
js 0x59fa93
mov eax, dword [esi + 0x10]
test eax, eax
js 0x59fa93
cmp dword [esi + 0x14], 0
mov edi, dword [ebp - 0x14]
jl 0x59fa93
add eax, dword [esi + 0x14]
add edx, eax
lea eax, [edx + 2]
lea eax, [eax + eax*2]
shl eax, 2
cmp eax, dword [edi + 8]
je 0x59f81c
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x51
jmp 0x59fac5
add ecx, edx
mov dword [ebp - 0x3c], 0
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0x18]
mov dword [ebp - 0x10], ecx
mov edx, ebx
mov dword [ebp + 0xc], ebx
jle 0x59f896
mov eax, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
nop
test eax, eax
je 0x59f8b7
mov edx, dword [edi + 0x50]
cmp edx, dword [edi + 0x54]
je 0x59f854
mov dword [edx], ebx
add dword [edi + 0x50], 4
jmp 0x59f86a
lea ecx, [ebp + 0xc]
push ecx
push edx
lea ecx, [edi + 0x4c]
call fcn.004c9760
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
add eax, dword [ebx + 4]
add eax, dword [ebx]
mov edx, dword [ebp - 0x3c]
add ecx, eax
mov ebx, dword [ebp - 0x28]
inc edx
add ebx, 0xc
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
cmp edx, dword [esi + 0xc]
jl 0x59f840
mov edx, ebx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x3c], 0
jle 0x59f8fe
test edx, edx
je 0x59f924
mov edx, dword [edi + 0x5c]
cmp edx, dword [edi + 0x60]
je 0x59f8cd
mov dword [edx], ebx
add dword [edi + 0x5c], 4
jmp 0x59f8dd
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x52
jmp 0x59fac5
lea ecx, [ebp + 0xc]
push ecx
push edx
lea ecx, [edi + 0x58]
call fcn.004c9760
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
add eax, dword [ebx + 4]
add eax, dword [ebx]
add ebx, 0xc
add ecx, eax
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x3c]
mov edx, ebx
inc eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], eax
cmp eax, dword [esi + 0x10]
jl 0x59f8a3
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x3c], 0
jle 0x59f96b
nop dword [eax + eax]
test edx, edx
je 0x59f98d
mov edx, dword [edi + 0x68]
cmp edx, dword [edi + 0x6c]
je 0x59f93a
mov dword [edx], ebx
add dword [edi + 0x68], 4
jmp 0x59f94a
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x53
jmp 0x59fac5
lea ecx, [ebp + 0xc]
push ecx
push edx
lea ecx, [edi + 0x64]
call fcn.004c9760
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
add eax, dword [ebx + 4]
add eax, dword [ebx]
add ebx, 0xc
add ecx, eax
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0x3c]
mov edx, ebx
inc eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], eax
cmp eax, dword [esi + 0x14]
jl 0x59f910
mov eax, dword [edi + 0x1c]
mov ebx, dword [edi + 8]
add eax, ebx
cmp edx, eax
je 0x59f9a3
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x55
jmp 0x59fac5
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x54
jmp 0x59fac5
mov eax, dword [edi + 0x14]
not ecx
cmp ecx, dword [eax]
je 0x59f9c2
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x56
jmp 0x59fac5
lea ecx, [ebx + esi]
mov dword [edi + 0x20], ecx
test ecx, ecx
jne 0x59f9e1
cmp byte [ebp + 0xb], cl
jne 0x59fac5
mov dword [edi + 0x10], 0x57
jmp 0x59fac5
mov eax, dword [esi + 8]
xor esi, esi
add eax, ecx
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x28]
test eax, 0xffffffe0
jle 0x59fa6a
test esi, esi
js 0x59fa84
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x4c]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x59fa84
mov eax, dword [edi + 0xa0]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 4]
mov eax, dword [edx + esi*4]
shl ecx, 3
mov edx, dword [eax]
sub edx, ecx
js 0x59fa84
mov eax, dword [edi + 0x20]
add eax, edx
mov dword [ebp + 0xc], eax
je 0x59fa75
mov edx, dword [edi + 0x8c]
lea ecx, [edi + 0x88]
cmp edx, dword [ecx + 8]
je 0x59fa4a
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x59fa54
lea eax, [ebp + 0xc]
push eax
push edx
call fcn.004c9760
push esi
mov ecx, edi
call fcn.005a09f0
mov eax, dword [edi + 0x2c]
inc esi
sub eax, dword [edi + 0x28]
sar eax, 5
cmp esi, eax
jl 0x59f9f8
mov dword [edi + 0x10], 0
mov bl, 1
jmp 0x59fac7
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x59
jmp 0x59fac5
cmp byte [ebp + 0xb], 0
jne 0x59fac5
mov dword [edi + 0x10], 0x58
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x50
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x3b
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x39
jmp 0x59fac5
test bl, bl
jne 0x59fac5
mov dword [edi + 0x10], 0x37
xor bl, bl
lea ecx, [ebp - 0x60]
call fcn.004a8ab0
lea ecx, [ebp - 0x6c]
call fcn.0048f200
lea ecx, [ebp - 0x54]
call fcn.0051e4d0
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x59fb27
mov ecx, dword [ebp + 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x59fb08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59fb70
push ecx
push edx
call fcn.005be247
add esp, 8
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x59fb5a
mov ecx, dword [ebp + 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x59fb50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59fb70
push ecx
push edx
call fcn.005be247
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.005c44be
int3