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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x5b158d
sub esp, 0xbc
mov eax, dword [esp + 0xc8]
movzx ecx, byte [eax + 0x10]
test cl, cl
jne 0x5b1561
mov dword [esp], eax
lea ecx, [0x67a27a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.005a67d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x5b151a
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00472d70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x5b14d3
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.005a6900
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x64], ecx
lea edx, [0x643700]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00444130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
lea ecx, [0x66eee0]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call fcn.0040d360
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
lea ecx, [0x644de0]
mov dword [esp], ecx
mov ecx, dword [0x7cc82c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0040f420
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea edx, [0x66da00]
mov dword [esp], edx
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 0x10], 8
lea ecx, [0x67a789]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 2
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5b14be
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [esp], 0
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
lea edx, str.______._0456:_____BCLMNOPSZ___n_r_t
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
call fcn.00447600
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov dword [edi + 4], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5b14b4
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x5b0ddb
mov eax, dword [esp + 0x64]
xor edx, edx
mov ebx, dword [esp + 0x88]
jmp 0x5b0cdb
mov ebp, dword [esp + 0x84]
add ebp, 0x14
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov eax, ebp
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], ebx
lea edi, [esp + 0xa8]
mov esi, eax
call fcn.0045d09e
lea edi, [esp + 0x94]
lea esi, [esp + 0xa8]
call fcn.0045d09e
mov ecx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0057e310
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
cmp ecx, 7
jne 0x5b12f0
cmp dword [eax], 0x69617254
jne 0x5b12f0
cmp word [eax + 4], 0x656c
jne 0x5b12f0
cmp byte [eax + 6], 0x72
jne 0x5b12f0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x5b12c2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x5cb690]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x8c]
mov dword [esp + 8], ecx
call fcn.005a8700
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x34]
cmp ebx, ebp
jl 0x5b0cc9
mov ecx, dword [esp + 0x40]
lea ebx, [ecx - 0x64]
cmp ebx, 0x63
ja 0x5b0f28
mov eax, dword [esp + 0xc4]
movzx ebx, byte [eax + 0xa7]
inc ebx
mov byte [eax + 0xa7], bl
cmp bl, 5
ja 0x5b0ee1
mov ebx, dword [0x7cc804]
test ebx, ebx
je 0x5b0ecb
test ebx, ebx
jne 0x5b0e7e
cmp ecx, 0x64
jne 0x5b0e35
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5b0e2e
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x5b0e71
mov edx, dword [eax + 0x64]
test edx, edx
jne 0x5b0e64
mov byte [eax + 0xa5], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xbc
ret
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc4]
jmp 0x5b0e35
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc4]
jmp 0x5b0e2e
mov dword [esp], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov edx, ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5b0eab
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x40]
jmp 0x5b0e1b
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xbc
ret
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x5b0eda
mov ebx, dword [ebx + 0x14]
jmp 0x5b0e17
xor ebx, ebx
jmp 0x5b0e17
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x687e7f]
mov dword [eax], ecx
mov dword [esp + 0xcc], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xbc
ret
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0xc8]
mov ebx, dword [ebx]
mov ebp, dword [edx]
movzx ebx, byte [ebx + 2]
cmp dword [edx + 4], 4
jne 0x5b12bb
cmp dword [ebp], 0x44414548
sete dl
mov byte [esp + 0x27], bl
mov byte [esp + 0x26], dl
test bl, 1
je 0x5b0f6a
test dl, dl
je 0x5b12b3
mov eax, dword [esp + 0x60]
mov dword [eax + 0x28], 0xffffffff
mov dword [eax + 0x2c], 0xffffffff
mov ecx, dword [eax + 0x1c]
lea edx, [0x66eee0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x67c542]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call fcn.00410bf0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x5b125e
movzx ecx, byte [esp + 0x27]
test cl, 1
je 0x5b100d
mov eax, dword [0x7cd03c]
mov ecx, dword [0x7cd038]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5b1003
mov dword [edx + 0x24], eax
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xbc
ret
lea edi, [edx + 0x24]
call fcn.0045c920
jmp 0x5b0fdf
movzx ecx, byte [esp + 0x26]
test cl, cl
jne 0x5b0fbf
lea eax, [0x6613a0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov edx, dword [esp + 0xc4]
lea edi, [edx + 0x14]
mov ebx, dword [0x7e34e0]
test ebx, ebx
jne 0x5b1238
mov ebx, eax
xor eax, eax
call fcn.0045cbad
lea ecx, [0x6cd0b0]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5b1229
mov dword [edx + 0x40], ebx
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x2c]
mov dword [edx + 0x78], ebx
mov dword [edx + 0x7c], ebp
lea ebx, [0x6ccdb0]
mov dword [ecx + 0x20], ebx
mov ebx, dword [0x7e34e0]
lea edi, [ecx + 0x24]
mov dword [esp + 0x80], edi
test ebx, ebx
jne 0x5b121d
mov dword [ecx + 0x24], edx
mov eax, dword [edx + 4]
mov dword [esp], 8
lea ecx, [0x692794]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0043bb40
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax + 0x61]
test al, al
jne 0x5b10ff
mov eax, dword [esp + 0x60]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xbc
ret
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
lea ecx, [0x67d0eb]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call fcn.0057cf60
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 4
jne 0x5b10d7
cmp dword [eax], 0x70697a67
jne 0x5b10d7
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x7c], ecx
nop
lea edx, [0x67d0eb]
mov dword [esp], edx
mov dword [esp + 4], 0x10
call fcn.0057e310
lea eax, [0x666580]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.00411660
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x7c], ecx
nop
lea edx, [0x67c542]
mov dword [esp], edx
mov dword [esp + 4], 0xe
call fcn.0057e310
lea eax, [0x666580]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00411660
mov eax, dword [esp + 0x60]
mov dword [eax + 0x28], 0xffffffff
mov dword [eax + 0x2c], 0xffffffff
lea ecx, [0x65de40]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
mov dword [eax], ebx
mov ebx, dword [0x7e34e0]
test ebx, ebx
jne 0x5b120d
mov dword [eax + 4], edx
lea edx, [0x6ccaf0]
mov dword [ecx + 0x20], edx
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x5b11ff
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x3d], 1
jmp 0x5b10d7
mov edi, dword [esp + 0x80]
call fcn.0045c920
jmp 0x5b11f6
lea edi, [eax + 4]
mov ebx, eax
mov eax, edx
call fcn.0045c920
mov eax, ebx
jmp 0x5b11e0
mov eax, edx
call fcn.0045c920
jmp 0x5b10a7
lea edi, [edx + 0x40]
mov eax, ebx
call fcn.0045c920
jmp 0x5b1073
mov dword [esp + 0x78], eax
lea eax, [0x6672a0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00411f70
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x78]
jmp 0x5b1059
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.00472880
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x5b129c
movzx ecx, byte [esp + 0x27]
test cl, 1
jmp 0x5b0fbd
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
movzx ecx, byte [esp + 0x27]
test cl, 1
jmp 0x5b0fbd
test bl, 1
jmp 0x5b0fbd
xor edx, edx
jmp 0x5b0f55
call fcn.0040d2e0
mov eax, dword [esp]
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5b12e2
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x40], eax
mov ecx, eax
jmp 0x5b0d73
mov ecx, dword [esp + 0x60]
lea edi, [ecx + 0x40]
call fcn.0045c920
jmp 0x5b12db
lea eax, [0x66eee0]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00410bf0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x5b140b
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
cmp ebx, eax
ja 0x5b13bf
mov dword [esp + 0x74], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
lea ebx, [ecx + edx*8 + 4]
mov dword [ebx], esi
mov ebx, dword [0x7e34e0]
lea edx, [ecx + edx*8]
test ebx, ebx
jne 0x5b13b4
mov dword [edx], ebp
lea eax, [0x66eee0]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
call fcn.004112c0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x5b13a9
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
jmp 0x5b0dca
mov eax, dword [esp + 0x74]
call fcn.0045c920
jmp 0x5b139c
mov edi, edx
mov eax, ebp
call fcn.0045c920
jmp 0x5b1354
mov dword [esp + 0x48], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x2c], edx
lea ebp, [0x643700]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.004441e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x48]
mov eax, edx
mov edx, dword [esp + 0x2c]
jmp 0x5b1333
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jle 0x5b131a
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x58]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x30], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x74], ecx
mov ebx, dword [0x7e34e0]
test ebx, ebx
jne 0x5b14ad
mov dword [edi], eax
lea eax, [0x66eee0]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
call fcn.004112c0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x5b14a2
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
jmp 0x5b0dca
mov eax, dword [esp + 0x58]
call fcn.0045c920
jmp 0x5b1495
call fcn.0045c920
jmp 0x5b144d
call fcn.0045c920
jmp 0x5b0cae
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0045c920
mov eax, ecx
jmp 0x5b0c46
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x4a
lea ecx, [0x68c130]
mov dword [eax], ecx
mov dword [esp + 0xcc], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xbc
ret
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x68b270]
mov dword [eax], ecx
mov dword [esp + 0xcc], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xbc
ret
mov eax, dword [0x7cd010]
mov ecx, dword [0x7cd014]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xbc
ret
call fcn.0045b380
jmp fcn.005b0af0