Function at 0x596390
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using xtea
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xf0
lea eax, [ebx - 0xf0]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00597510
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x22c]
add esp, 0xc
mov esi, 0x3b
jmp 0x5963d0
mov edx, dword [eax]
lea eax, [eax + 4]
xor ecx, edx
mov dword [eax - 4], ecx
mov ecx, edx
dec esi
jne 0x5963d0
cmp dword [ebp - 0x22c], 0xc0dec0df
jne 0x5974ea
mov eax, ebx
lea edi, [ebp - 0x13c]
sub eax, dword [ebp - 0x220]
mov ecx, 0x3a
sub ebx, dword [ebp - 0x218]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x204]
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0xf]
and ecx, 0xfffffff0
mov dword [ebp - 0x28], ecx
lea eax, [ecx - 1]
cmp eax, 0x27f
ja 0x5974ea
mov edi, dword [ebp - 0x1c]
mov esi, ecx
add edi, dword [ebp - 0x208]
lea ecx, [ebp - 0x504]
mov eax, esi
test eax, eax
je 0x59645f
mov eax, ecx
sub edi, eax
lea ebx, [ebx]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec esi
jne 0x596450
mov eax, dword [ebp - 0x28]
mov esi, eax
lea ecx, [ebp - 0x504]
shr esi, 2
test esi, esi
je 0x59647f
mov edi, edi
mov eax, dword [ecx]
lea ecx, [ecx + 4]
xor edx, eax
mov dword [ecx - 4], edx
mov edx, eax
dec esi
jne 0x596470
lea eax, [ebp - 0x504]
xor edx, edx
mov ecx, eax
add ecx, ebx
jmp 0x596490
cmp eax, ecx
jae 0x5974ea
cmp byte [eax], 0
mov dword [ebp + edx*4 - 0xdc], eax
je 0x5964b2
inc eax
cmp eax, ecx
jae 0x5974ea
cmp byte [eax], 0
jne 0x5964a4
inc edx
inc eax
cmp edx, 0x22
jb 0x596490
cmp eax, ecx
jne 0x5974ea
mov ecx, dword [ebp - 0x168]
xor eax, eax
mov word [ebp - 0x30], ax
mov eax, ecx
or eax, dword [ebp - 0x164]
mov dword [ebp - 0x48], 0x65006b
mov dword [ebp - 0x44], 0x6e0072
mov dword [ebp - 0x40], 0x6c0065
mov dword [ebp - 0x3c], 0x320033
mov dword [ebp - 0x38], 0x64002e
mov dword [ebp - 0x34], 0x6c006c
je 0x596515
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x8c]
mov eax, dword [ecx + edi]
mov dword [ebp - 0xf0], eax
jmp 0x596575
mov ecx, dword [ebp - 0x160]
mov eax, ecx
or eax, dword [ebp - 0x15c]
je 0x596533
mov edi, dword [ebp - 0x2c]
mov eax, dword [ecx + edi]
mov dword [ebp - 0xec], eax
jmp 0x596571
mov ecx, dword [ebp - 0x158]
mov eax, ecx
or eax, dword [ebp - 0x154]
je 0x596551
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x8c]
mov eax, dword [ecx + edi]
jmp 0x596575
mov ecx, dword [ebp - 0x150]
mov eax, ecx
or eax, dword [ebp - 0x14c]
je 0x5974ea
mov edi, dword [ebp - 0x2c]
mov eax, dword [ecx + edi]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x48]
push ecx
call eax
mov esi, eax
test esi, esi
je 0x5974ea
mov ebx, dword [ebp - 0x148]
mov ecx, 0x14c
mov eax, ebx
or eax, dword [ebp - 0x144]
mov eax, 0x5a4d
lea edx, [ecx - 0x6c]
je 0x5965ac
mov ebx, dword [ebx + edi]
mov dword [ebp - 0xe0], ebx
jmp 0x5966da
cmp ax, word [esi]
jne 0x5974ea
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x5974ea
cmp word [eax + 4], cx
jne 0x5966ca
cmp word [eax + 0x14], dx
jne 0x5974ea
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x5974ea
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + esi + 0x18]
test eax, eax
je 0x5974ea
mov edx, dword [ecx + esi + 0x14]
mov dword [ebp - 8], edx
test edx, edx
je 0x5974ea
mov edi, dword [ecx + esi + 0x20]
mov ebx, dword [ecx + esi + 0x24]
add edi, esi
add ebx, esi
xor ecx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
test eax, eax
je 0x5974ea
mov eax, dword [ebp - 0x80]
mov dl, byte [eax]
mov byte [ebp - 9], dl
lea ecx, [ecx]
mov edx, dword [edi]
add edx, esi
cmp byte [ebp - 9], 0
je 0x59665b
lea ebx, [ebx]
mov cl, byte [edx]
test cl, cl
je 0x596662
mov bl, byte [eax]
cmp bl, cl
jl 0x5966a2
jg 0x5966a2
inc eax
inc edx
cmp byte [eax], 0
jne 0x596640
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
cmp byte [edx], 0
jne 0x5966a8
jmp 0x596665
mov ebx, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x5966a5
movzx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x5974ea
cmp ecx, dword [ebp - 8]
ja 0x5974ea
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
cmp ecx, edx
jb 0x59669d
mov eax, dword [ebp - 0x20]
add eax, edx
cmp ecx, eax
jb 0x5974ea
lea ebx, [ecx + esi]
jmp 0x5966cc
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
inc ecx
add ebx, 2
mov dword [ebp - 4], ecx
add edi, 4
mov dword [ebp - 0x14], ebx
cmp ecx, dword [eax + esi + 0x18]
jae 0x5974ea
mov eax, dword [ebp - 0x80]
jmp 0x596630
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
test ebx, ebx
je 0x5974ea
mov eax, dword [ebp - 0x168]
or eax, dword [ebp - 0x164]
jne 0x5966fc
push dword [ebp - 0x7c]
push esi
call ebx
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x5974ea
push dword [ebp - 0x78]
push esi
call ebx
mov dword [ebp - 0xe8], eax
test eax, eax
je 0x5974ea
push dword [ebp - 0x88]
call eax
mov dword [ebp - 8], eax
test eax, eax
je 0x5974ea
lea ecx, [ebp - 0x13c]
xor edi, edi
mov dword [ebp - 0x18], ecx
mov edi, edi
push dword [ebp + edi*4 - 0xdc]
push eax
call ebx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
test eax, eax
je 0x5974ea
add ecx, 4
inc edi
mov dword [ebp - 0x18], ecx
cmp edi, 3
jae 0x59675e
mov ebx, dword [ebp - 0xe0]
mov eax, dword [ebp - 8]
jmp 0x596730
lea ebx, [ebp - 0x130]
xor edi, edi
jmp 0x596770
push dword [ebp + edi*4 - 0xd0]
push esi
call dword [ebp - 0xe0]
mov dword [ebx], eax
test eax, eax
je 0x5974ea
inc edi
add ebx, 4
cmp edi, 0x10
jb 0x596770
test byte [ebp - 0x1f4], 0x20
jne 0x5967c0
mov eax, dword fs:[0x18]
test eax, eax
je 0x5967b6
cmp dword [eax + 0x18], eax
jne 0x5967b6
mov eax, dword [eax + 0x30]
test eax, eax
je 0x5967b6
cmp byte [eax + 2], 0
je 0x5967c0
mov bl, 0x54
mov byte [ebp + 0xb], bl
jmp 0x597191
test byte [ebp - 0x188], 1
je 0x5967d9
lea eax, [ebp + 4]
mov eax, dword [eax + 8]
cmp dword [eax + 0x28], 1
jne 0x597177
push dword [ebp - 0x1fc]
push 1
call dword [ebp - 0x13c]
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x5967fd
mov bl, 0x57
mov byte [ebp + 0xb], bl
jmp 0x597191
mov esi, dword [ebp - 0x200]
mov ecx, edi
add esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1fc]
test edx, edx
je 0x596826
mov al, byte [esi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea esi, [esi + 1]
dec edx
jne 0x596812
mov edx, dword [ebp - 0x1fc]
mov ecx, edx
mov dword [ebp - 0x1c], 0x55555555
shr ecx, 3
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], 0x55555555
test ecx, ecx
je 0x5968ee
mov dword [ebp - 4], 0
mov eax, edi
mov dword [ebp - 0x20], edi
mov edx, dword [eax]
mov edi, 0xc6ef3720
mov esi, dword [eax + 4]
mov ebx, 0x20
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], esi
mov ecx, edx
mov eax, edx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edi
shr eax, 0xb
add ecx, edx
and eax, 3
mov eax, dword [ebp + eax*4 - 0x198]
add eax, edi
add edi, 0x61c88647
xor ecx, eax
sub esi, ecx
mov ecx, esi
mov eax, esi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edi
and eax, 3
add ecx, esi
mov eax, dword [ebp + eax*4 - 0x198]
add eax, edi
xor ecx, eax
sub edx, ecx
dec ebx
jne 0x596865
mov ecx, dword [ebp - 4]
xor edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
xor esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + ecx*4], edx
add eax, 8
mov dword [edi + ecx*4 + 4], esi
add ecx, 2
dec dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], eax
jne 0x596850
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ebp - 0x1ec]
xor esi, esi
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1ec], 0
test ebx, ebx
je 0x59699c
movzx ecx, byte [ebp + esi - 0x504]
shl ecx, 0x18
xor eax, ecx
jns 0x596928
add eax, eax
xor eax, 0x488781ed
jmp 0x59692a
add eax, eax
test eax, eax
jns 0x596937
add eax, eax
xor eax, 0x488781ed
jmp 0x596939
add eax, eax
test eax, eax
jns 0x596946
add eax, eax
xor eax, 0x488781ed
jmp 0x596948
add eax, eax
test eax, eax
jns 0x596955
add eax, eax
xor eax, 0x488781ed
jmp 0x596957
add eax, eax
test eax, eax
jns 0x596964
add eax, eax
xor eax, 0x488781ed
jmp 0x596966
add eax, eax
test eax, eax
jns 0x596973
add eax, eax
xor eax, 0x488781ed
jmp 0x596975
add eax, eax
test eax, eax
jns 0x596982
add eax, eax
xor eax, 0x488781ed
jmp 0x596984
add eax, eax
test eax, eax
jns 0x596991
add eax, eax
xor eax, 0x488781ed
jmp 0x596993
add eax, eax
inc esi
cmp esi, ebx
jb 0x596910
xor esi, esi
mov edi, edi
movzx ecx, byte [ebp + esi - 0x230]
shl ecx, 0x18
xor eax, ecx
jns 0x5969b8
add eax, eax
xor eax, 0x488781ed
jmp 0x5969ba
add eax, eax
test eax, eax
jns 0x5969c7
add eax, eax
xor eax, 0x488781ed
jmp 0x5969c9
add eax, eax
test eax, eax
jns 0x5969d6
add eax, eax
xor eax, 0x488781ed
jmp 0x5969d8
add eax, eax
test eax, eax
jns 0x5969e5
add eax, eax
xor eax, 0x488781ed
jmp 0x5969e7
add eax, eax
test eax, eax
jns 0x5969f4
add eax, eax
xor eax, 0x488781ed
jmp 0x5969f6
add eax, eax
test eax, eax
jns 0x596a03
add eax, eax
xor eax, 0x488781ed
jmp 0x596a05
add eax, eax
test eax, eax
jns 0x596a12
add eax, eax
xor eax, 0x488781ed
jmp 0x596a14
add eax, eax
test eax, eax
jns 0x596a21
add eax, eax
xor eax, 0x488781ed
jmp 0x596a23
add eax, eax
inc esi
cmp esi, 0xf0
jb 0x5969a0
mov edi, dword [ebp - 0x214]
xor esi, esi
add edi, 0xf
and edi, 0xfffffff0
jbe 0x596acf
mov ebx, dword [ebp + 8]
movzx ecx, byte [esi + ebx]
shl ecx, 0x18
xor eax, ecx
jns 0x596a5b
add eax, eax
xor eax, 0x488781ed
jmp 0x596a5d
add eax, eax
test eax, eax
jns 0x596a6a
add eax, eax
xor eax, 0x488781ed
jmp 0x596a6c
add eax, eax
test eax, eax
jns 0x596a79
add eax, eax
xor eax, 0x488781ed
jmp 0x596a7b
add eax, eax
test eax, eax
jns 0x596a88
add eax, eax
xor eax, 0x488781ed
jmp 0x596a8a
add eax, eax
test eax, eax
jns 0x596a97
add eax, eax
xor eax, 0x488781ed
jmp 0x596a99
add eax, eax
test eax, eax
jns 0x596aa6
add eax, eax
xor eax, 0x488781ed
jmp 0x596aa8
add eax, eax
test eax, eax
jns 0x596ab5
add eax, eax
xor eax, 0x488781ed
jmp 0x596ab7
add eax, eax
test eax, eax
jns 0x596ac4
add eax, eax
xor eax, 0x488781ed
jmp 0x596ac6
add eax, eax
inc esi
cmp esi, edi
jb 0x596a47
mov ebx, dword [ebp - 0x14]
xor esi, esi
test edx, edx
je 0x596b68
lea esp, [esp]
movzx ecx, byte [esi + ebx]
shl ecx, 0x18
xor eax, ecx
jns 0x596af4
add eax, eax
xor eax, 0x488781ed
jmp 0x596af6
add eax, eax
test eax, eax
jns 0x596b03
add eax, eax
xor eax, 0x488781ed
jmp 0x596b05
add eax, eax
test eax, eax
jns 0x596b12
add eax, eax
xor eax, 0x488781ed
jmp 0x596b14
add eax, eax
test eax, eax
jns 0x596b21
add eax, eax
xor eax, 0x488781ed
jmp 0x596b23
add eax, eax
test eax, eax
jns 0x596b30
add eax, eax
xor eax, 0x488781ed
jmp 0x596b32
add eax, eax
test eax, eax
jns 0x596b3f
add eax, eax
xor eax, 0x488781ed
jmp 0x596b41
add eax, eax
test eax, eax
jns 0x596b4e
add eax, eax
xor eax, 0x488781ed
jmp 0x596b50
add eax, eax
test eax, eax
jns 0x596b5d
add eax, eax
xor eax, 0x488781ed
jmp 0x596b5f
add eax, eax
inc esi
cmp esi, edx
jb 0x596ae0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1ec], ecx
cmp eax, ecx
je 0x596b7f
mov bl, 0x51
mov byte [ebp + 0xb], bl
jmp 0x597191
cmp edx, 0x40
jb 0x596f66
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x596f66
mov eax, dword [ebx + 0x3c]
lea esi, [eax + ebx]
add eax, 0xf8
mov dword [ebp - 0x1c], esi
cmp edx, eax
jb 0x596f66
cmp dword [esi], 0x4550
jne 0x596f66
mov edi, dword [ebp - 0x108]
push 4
push 0x2000
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x596bf0
push 4
push 0x2000
push dword [esi + 0x50]
push eax
call edi
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x596f60
push 4
push 0x1000
push dword [esi + 0x50]
xor eax, eax
mov dword [ebp - 0x50], eax
push ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ebx
call edi
mov edi, dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [esi + 0x54]
mov dword [ebp - 0x10], eax
add edx, dword [edi + 0x3c]
je 0x596c32
sub edi, eax
lea ecx, [ecx]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x596c20
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0x3c]
xor ecx, ecx
add edi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x4c], edi
mov dword [edi + 0x34], ebx
movzx eax, word [edi + 0x14]
cmp cx, word [edi + 6]
jae 0x596cee
add edi, 0x28
add edi, eax
mov dword [ebp - 0x20], edi
nop
mov eax, dword [edi]
test eax, eax
jne 0x596c9a
mov esi, dword [esi + 0x38]
test esi, esi
je 0x596ccc
mov eax, dword [edi - 4]
push 4
push 0x1000
push esi
add eax, ebx
push eax
call dword [ebp - 0x108]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x20]
jmp 0x596ccc
push 4
push 0x1000
push eax
mov eax, dword [edi - 4]
add eax, ebx
push eax
call dword [ebp - 0x108]
mov ecx, dword [edi + 4]
mov edx, eax
add ecx, dword [ebp - 0x14]
mov esi, dword [edi]
test esi, esi
je 0x596ccc
lea esp, [esp]
mov al, byte [ecx]
lea edx, [edx + 1]
inc ecx
mov byte [edx - 1], al
dec esi
jne 0x596cc0
mov eax, dword [ebp - 4]
add edi, 0x28
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], esi
movzx eax, word [eax + 6]
cmp esi, eax
mov esi, dword [ebp - 0x1c]
jl 0x596c60
mov edi, dword [ebp - 4]
mov eax, ebx
sub eax, dword [esi + 0x34]
mov dword [ebp - 8], eax
je 0x596d9f
cmp dword [edi + 0xa4], 0
jbe 0x596d9f
mov ecx, dword [edi + 0xa0]
add ecx, ebx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
test eax, eax
je 0x596d9f
mov edi, edi
lea edx, [eax + ebx]
xor esi, esi
lea eax, [ecx + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
lea edi, [ecx + 8]
mov eax, dword [eax]
sub eax, 8
test eax, 0xfffffffe
jbe 0x596d91
lea ecx, [ecx]
movzx eax, word [edi]
mov ecx, eax
shr eax, 0xc
and ecx, 0xfff
test eax, eax
je 0x596d79
cmp eax, 3
je 0x596d73
cmp eax, 0xa
je 0x596d5f
int3
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
cdq
add dword [ecx + ebx], eax
mov eax, ebx
adc dword [ecx + eax + 4], edx
mov edx, ebx
jmp 0x596d79
mov eax, dword [ebp - 8]
add dword [ecx + edx], eax
mov eax, dword [ebp - 0x20]
inc esi
add edi, 2
mov eax, dword [eax]
sub eax, 8
shr eax, 1
cmp esi, eax
jb 0x596d40
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
test eax, eax
jne 0x596d20
mov edi, dword [ebp - 4]
cmp dword [edi + 0x84], 0
jbe 0x596e63
mov edi, dword [edi + 0x80]
add edi, ebx
push 0x14
push edi
mov dword [ebp - 8], edi
call dword [ebp - 0xfc]
test eax, eax
jne 0x596e60
jmp 0x596dd0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x596e60
add eax, ebx
push eax
call dword [ebp - 0xe8]
mov edx, eax
mov dword [ebp - 0x24], edx
test edx, edx
je 0x596f60
mov eax, dword [edi]
test eax, eax
je 0x596e01
mov ecx, dword [edi + 0x10]
lea esi, [eax + ebx]
add ecx, ebx
jmp 0x596e08
mov esi, dword [edi + 0x10]
add esi, ebx
mov ecx, esi
mov eax, dword [esi]
test eax, eax
je 0x596e49
sub ecx, esi
mov dword [ebp - 0x10], ecx
lea edi, [ecx + esi]
test eax, eax
jns 0x596e1f
movzx eax, ax
jmp 0x596e24
add eax, 2
add eax, ebx
push eax
push edx
call dword [ebp - 0xe0]
mov dword [edi], eax
test eax, eax
je 0x596f60
mov eax, dword [esi + 4]
add esi, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x596e13
mov edi, dword [ebp - 8]
add edi, 0x14
push 0x14
push edi
mov dword [ebp - 8], edi
call dword [ebp - 0xfc]
test eax, eax
je 0x596dd0
mov edi, dword [ebp - 4]
movzx eax, word [edi + 0x14]
xor ecx, ecx
mov dword [ebp - 8], 0
cmp cx, word [edi + 6]
jae 0x596f3e
lea esi, [edi + 0x3c]
add esi, eax
nop
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x1d
mov edx, ecx
and eax, 0xffffff01
shr edx, 0x1f
mov dword [ebp - 0x10], eax
and dl, 1
mov eax, ecx
shr eax, 0x1e
and al, 1
test ecx, 0x2000000
je 0x596ebc
mov eax, dword [esi - 0x18]
push 0x4000
push dword [esi - 0x14]
add eax, ebx
push eax
call dword [ebp - 0x104]
jmp 0x596f28
test al, al
je 0x596ed0
xor eax, eax
test dl, dl
setne al
lea eax, [eax*2 + 2]
jmp 0x596edf
test dl, dl
mov eax, 1
mov edx, 8
cmovne eax, edx
cmp byte [ebp - 0x10], 0
je 0x596ee8
shl eax, 4
test ecx, 0x4000000
je 0x596ef5
or eax, 0x200
mov edx, dword [esi - 0x14]
test edx, edx
jne 0x596f11
test cl, 0x40
je 0x596f06
mov edx, dword [edi + 0x20]
jmp 0x596f0d
test cl, cl
jns 0x596f28
mov edx, dword [edi + 0x24]
test edx, edx
je 0x596f28
lea ecx, [ebp - 0x140]
push ecx
push eax
mov eax, dword [esi - 0x18]
push dword [esi - 0x14]
add eax, ebx
push eax
call dword [ebp - 0x100]
mov ecx, dword [ebp - 8]
add esi, 0x28
movzx eax, word [edi + 6]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, eax
jl 0x596e80
mov eax, dword [edi + 0x28]
test eax, eax
je 0x596f58
add eax, ebx
je 0x596f60
push 0
push 1
push ebx
call eax
test eax, eax
je 0x596f60
mov byte [ebp - 0x54], 1
mov edx, dword [ebp - 0x1fc]
jmp 0x596f68
mov edx, dword [ebp - 0x1fc]
xor ebx, ebx
test edx, edx
je 0x596f7f
mov edi, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [ebp - 0x14]
call dword [ebp - 0x138]
add esp, 4
test ebx, ebx
jne 0x596f99
mov bl, 0x42
mov byte [ebp + 0xb], bl
jmp 0x597191
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x597187
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x597187
mov ecx, 0x14c
cmp word [eax + 4], cx
jne 0x597187
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x597187
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x597187
mov ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov eax, dword [ecx + ebx + 0x18]
test eax, eax
je 0x597187
mov edx, dword [ecx + ebx + 0x14]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x597187
mov esi, dword [ecx + ebx + 0x20]
xor edi, edi
mov ecx, dword [ecx + ebx + 0x24]
add esi, ebx
add ecx, ebx
mov dword [ebp - 4], ecx
test eax, eax
je 0x597187
mov eax, dword [ebp - 0x58]
mov dl, byte [eax]
mov byte [ebp - 9], dl
mov edx, dword [esi]
add edx, ebx
cmp byte [ebp - 9], 0
je 0x597048
mov cl, byte [edx]
test cl, cl
je 0x59704d
mov ch, byte [eax]
cmp ch, cl
jl 0x597052
jg 0x597052
inc eax
inc edx
cmp byte [eax], 0
jne 0x597030
mov ecx, dword [ebp - 4]
cmp byte [edx], 0
jne 0x597055
cmp byte [eax], 0
je 0x597071
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc edi
add ecx, 2
add esi, 4
mov dword [ebp - 4], ecx
cmp edi, dword [eax + ebx + 0x18]
jae 0x597187
mov eax, dword [ebp - 0x58]
jmp 0x597026
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0xffffffff
je 0x597187
cmp ecx, dword [ebp - 0x10]
ja 0x597187
mov edx, dword [ebp - 8]
mov eax, dword [edx + ebx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + ebx]
cmp ecx, edx
jb 0x5970a7
mov eax, dword [ebp - 0x24]
add eax, edx
cmp ecx, eax
jb 0x597187
lea eax, [ecx + ebx]
test eax, eax
je 0x597187
push 0xf0
lea ecx, [ebp - 0x230]
push ecx
push dword [ebp + 8]
call eax
mov byte [ebp + 0xb], al
cmp al, 0x30
jne 0x59718e
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x597177
mov esi, dword [ebx + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
jne 0x597177
mov eax, 0x14c
cmp word [esi + 4], ax
jne 0x597177
mov eax, 0xe0
cmp word [esi + 0x14], ax
jne 0x597177
mov eax, dword [esi + 0x28]
test eax, eax
je 0x597115
add eax, ebx
je 0x597177
push 0
push 0
push ebx
call eax
cmp dword [esi + 0x84], 0
jbe 0x597169
mov esi, dword [esi + 0x80]
push 0x14
add esi, ebx
push esi
call dword [ebp - 0xfc]
test eax, eax
jne 0x597169
mov edi, dword [ebp - 0xf4]
add esi, 0xc
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
je 0x597169
add eax, ebx
push eax
call dword [ebp - 0xf0]
test eax, eax
je 0x597156
push eax
call edi
add esi, 0x14
push 0x14
lea eax, [esi - 0xc]
push eax
call dword [ebp - 0xfc]
test eax, eax
je 0x597140
push 0x8000
push 0
push ebx
call dword [ebp - 0x104]
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 0x43
mov byte [ebp + 0xb], bl
jmp 0x597191
mov bl, byte [ebp + 0xb]
call dword [ebp - 0x12c]
mov esi, eax
cmp bl, 0x35
je 0x5974b8
cmp bl, 0x30
je 0x5974b8
cmp bl, 0x45
je 0x5974b8
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x284]
mov cl, byte [edx]
test cl, cl
je 0x5971d1
mov edi, eax
sub edx, edi
mov byte [eax], cl
inc eax
mov cl, byte [edx + eax]
test cl, cl
jne 0x5971c7
mov edx, dword [ebp - 0x64]
mov byte [eax], 0
lea eax, [ebp - 0x264]
mov cl, byte [edx]
test cl, cl
je 0x5971f1
mov edi, eax
sub edx, edi
mov byte [eax], cl
inc eax
mov cl, byte [edx + eax]
test cl, cl
jne 0x5971e7
mov byte [eax], 0
add esi, 0xff98
xor eax, eax
mov dword [ebp - 0x10], esi
cmp byte [ebp - 0x264], al
je 0x59721b
jmp 0x597210
inc eax
cmp byte [ebp + eax - 0x264], 0
jne 0x597210
lea esi, [ebp + eax - 0x265]
lea eax, [ebp - 0x264]
cmp esi, eax
jbe 0x59733c
cmp byte [esi], 0x3a
je 0x597245
dec esi
lea eax, [ebp - 0x264]
cmp esi, eax
ja 0x597230
jmp 0x59733c
mov byte [esi - 1], bl
mov eax, 0x12e0be83
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
mul ebx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1d
mov al, cl
add al, 0x30
mov byte [esi + 1], al
imul eax, ecx, 0x3b9aca00
sub ebx, eax
mov eax, 0x55e63b89
mul ebx
shr edx, 0x19
mov al, dl
add al, 0x30
mov byte [esi + 2], al
imul eax, edx, 0xfa0a1f00
add ebx, eax
mov eax, 0x6b5fca6b
mul ebx
shr edx, 0x16
mov al, dl
add al, 0x30
mov byte [esi + 3], al
imul eax, edx, 0xff676980
add ebx, eax
mov eax, 0x431bde83
mul ebx
shr edx, 0x12
mov al, dl
add al, 0x30
mov byte [esi + 4], al
imul eax, edx, 0xfff0bdc0
add ebx, eax
mov eax, 0x4f8b588f
mul ebx
mov ecx, ebx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x10
mov al, cl
add al, 0x30
mov byte [esi + 5], al
imul eax, ecx, 0xfffe7960
add ebx, eax
mov eax, 0xd1b71759
mul ebx
shr edx, 0xd
mov al, dl
add al, 0x30
mov byte [esi + 6], al
imul eax, edx, 0xffffd8f0
add ebx, eax
mov eax, 0x10624dd3
mul ebx
shr edx, 6
mov al, dl
add al, 0x30
mov byte [esi + 7], al
imul eax, edx, 0xfffffc18
add ebx, eax
mov eax, 0x51eb851f
mul ebx
shr edx, 5
mov al, dl
add al, 0x30
mov byte [esi + 8], al
imul eax, edx, 0xffffff9c
add ebx, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov al, dl
add al, 0x30
mov byte [esi + 9], al
imul eax, edx, 0xfffffff6
add ebx, eax
add bl, 0x30
mov byte [esi + 0xa], bl
cmp dword [ebp - 0x21c], 0
ja 0x59745f
jb 0x597358
cmp dword [ebp - 0x220], 0xffffffff
ja 0x59745f
push dword [ebp - 0x6c]
push 0
push 0x100000
call dword [ebp - 0x128]
push dword [ebp - 0x70]
mov esi, eax
push 0
push 2
mov dword [ebp - 0x24], esi
call dword [ebp - 0x124]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x59745f
test ebx, ebx
je 0x59745f
push 0x1388
push esi
call dword [ebp - 0x11c]
test eax, eax
jne 0x59745f
push eax
push eax
push eax
push 2
push ebx
call dword [ebp - 0x120]
mov esi, eax
test esi, esi
je 0x59745f
cmp dword [esi + 0x90], 2
jne 0x59745f
cmp dword [esi + 0x94], 0
jne 0x59745f
push 0
push 0
push 0
push 0
call dword [ebp - 0x118]
mov ebx, eax
call dword [ebp - 0x10c]
mov dword [esi + 0x98], eax
mov ecx, dword [ebp - 0x1f8]
movsx eax, byte [ebp + 0xb]
mov dword [esi + 0xa0], ecx
mov ecx, dword [ebp - 0x1ec]
mov dword [esi + 0xa4], ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0xffffff10
mov dword [esi + 0xa8], eax
push 0x1388
mov dword [esi + 0xac], ecx
mov dword [esi + 0x9c], ebx
push ebx
mov dword [esi + 0x94], 2
call dword [ebp - 0x11c]
push esi
mov edi, eax
call dword [ebp - 0x114]
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x110]
call esi
push dword [ebp - 0x24]
call esi
push ebx
call esi
test edi, edi
je 0x5974b8
test byte [ebp - 0x1f4], 0x40
jne 0x5974b8
push dword [ebp - 0x84]
call dword [ebp - 0xe8]
test eax, eax
je 0x5974b8
push dword [ebp - 0x74]
push eax
call dword [ebp - 0xe0]
mov edx, eax
lea edi, [ebp - 0x230]
xor eax, eax
mov ecx, 0x3c
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x504]
mov ecx, 0xa0
rep stosd dword es:[edi], eax
test edx, edx
je 0x5974b8
push 0x10
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
call edx
xor eax, eax
lea edi, [ebp - 0x230]
mov ecx, 0x3c
rep stosd dword es:[edi], eax
mov ecx, 0xa0
lea edi, [ebp - 0x504]
rep stosd dword es:[edi], eax
movsx eax, byte [ebp + 0xb]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x130]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea edi, [ebp - 0x230]
mov ecx, 0x3c
rep stosd dword es:[edi], eax
mov ecx, 0xa0
lea edi, [ebp - 0x504]
rep stosd dword es:[edi], eax
int3