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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [edx + 0x24]
movzx ecx, word [ebx]
mov eax, ecx
and eax, 0xfffe
cmp eax, 0x92
jne 0x52af2c
mov dword [esp + 0x4c], ecx
movzx eax, word [ebx + 2]
add ebx, 2
jmp 0x52af36
mov eax, ecx
mov cx, 0x83
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov ecx, ebx
nop dword [eax]
movzx edx, word [ecx + 2]
movzx edi, word [ecx + edx*2]
lea ecx, [ecx + edx*2]
cmp edi, 0x77
je 0x52af40
movzx edx, di
mov dword [esp + 0x50], 0
cmp edx, 0x78
mov dword [esp + 0x48], 0
mov dword [esp + 0x70], 0
jne 0x52afd8
add ecx, 4
lea edi, [ecx - 4]
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
sub edi, esi
mov edi, dword [edx + edi*2]
mov dword [esp + 0x50], edi
test edi, edi
je 0x52afbc
mov edi, ecx
sub edi, esi
mov edi, dword [edx + edi*2]
add ecx, 2
sub ecx, esi
mov ecx, dword [edx + ecx*2]
mov dword [esp + 0x70], ecx
xor ecx, ecx
cmp edi, 0x27
sete cl
or ecx, 0x78
mov dword [esp + 0x48], edi
cmp edi, 0x28
mov di, 0x7a
cmovne di, cx
jmp 0x52afd8
mov di, 0x78
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x70], 0
movzx ecx, word [ebx + 2]
mov dword [esp + 0x64], ecx
movzx ecx, word [ebx + ecx*2]
cmp ecx, 0x77
sete dl
movzx eax, ax
cmp eax, 0x8c
je 0x52affb
cmp eax, 0x87
jne 0x52b017
movzx edx, word [ebx + 4]
add edx, 0xffffff83
movzx esi, dx
mov dl, 1
cmp esi, 4
jb 0x52b017
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x20], 0
setne dl
cmp eax, 0x8a
je 0x52b02d
mov dword [esp + 0x44], 0
cmp eax, 0x85
jne 0x52b037
movzx esi, word [ebx + 4]
add esi, esi
mov dword [esp + 0x44], esi
movzx esi, ax
movzx edx, dl
mov dword [esp + 0x68], edx
cmp eax, 0x87
jne 0x52b059
lea eax, [ecx - 0x79]
movzx eax, ax
cmp eax, 2
mov eax, 0x8c
cmovb esi, eax
cmp esi, 0x82
mov eax, 0x81
cmovne eax, esi
mov esi, eax
xor ebp, ebp
cmp dword [esp + 0x68], 0
je 0x52b0a1
movzx eax, cx
mov ebp, 1
cmp eax, 0x77
jne 0x52b0a1
mov eax, dword [esp + 0x64]
lea eax, [ebx + eax*2]
mov ebp, 1
nop dword [eax + eax]
movzx ecx, word [eax + 2]
movzx edx, word [eax + ecx*2]
lea eax, [eax + ecx*2]
inc ebp
cmp edx, 0x77
je 0x52b090
mov dword [esp + 0x30], ebp
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], esi
cmp esi, 0x81
jne 0x52b0ce
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x54], ecx
sar eax, 1
mov dword [edx + 0x20], eax
cmp dword [esp + 0x48], 0
mov ebp, ebx
je 0x52b1ae
movzx eax, di
cmp eax, 0x78
je 0x52b1ae
mov edx, 0x20
mov esi, dword [esp + 0xc]
mov ecx, esi
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
je 0x52b176
cmp dword [esp + 0x48], 0x27
jne 0x52b192
cmp dword [esi], 0
jne 0x52b1ae
mov esi, dword [esp + 0xc]
mov ebx, dword [esi + 0x58]
add ebx, dword [esp + 0x50]
mov edx, 1
mov ecx, esi
push 1
push 0x81
push 0
push 0xe
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b4f1
mov byte [eax], 0x8d
mov edx, 1
mov ecx, esi
push ebx
push 0x8d
push 0
push 0xe
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b4f1
mov byte [eax], 0x89
jmp 0x52b1ae
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
cmp dword [esp + 0x48], 0x27
je 0x52b117
mov edx, 0x20
mov ecx, esi
push 0
push 1
push dword [esp + 0x58]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
movzx eax, di
cmp eax, 0x79
mov dword [esp + 0x5c], eax
jne 0x52b2b2
movzx eax, word [esp + 0x4c]
mov dword [esp + 0x20], 0
cmp eax, 0x92
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
jne 0x52bb15
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52b228
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
mov dword [esp + 0x20], 0
cmp dword [ebx], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jne 0x52bb15
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 0
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b268
or byte [eax + 1], 0x38
mov dword [esp + 0x20], 0
cmp dword [ebx], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jne 0x52bb15
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52b60b
mov dword [esp + 0x10], edx
lea edx, [eax + ecx + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
jmp 0x52b638
cmp eax, 0x7a
mov ebx, dword [esp + 0xc]
jne 0x52b2ea
movzx eax, word [esp + 0x4c]
cmp eax, 0x93
mov esi, dword [esp + 0x2c]
jne 0x52b3c2
mov ecx, ebx
call fcn.004fc770
mov dword [esp + 0x28], eax
cmp dword [esp + 0x48], 0
jne 0x52b453
jmp 0x52bb05
movzx eax, word [esp + 0x4c]
cmp eax, 0x92
mov esi, dword [esp + 0x2c]
jne 0x52b492
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52b338
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
mov dword [esp + 0x20], 0
cmp dword [ebx], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jne 0x52bb15
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 0
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b378
or byte [eax + 1], 0x38
mov dword [esp + 0x20], 0
cmp dword [ebx], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jne 0x52bb15
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52b71a
mov dword [esp + 0x10], edx
lea edx, [eax + ecx + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
jmp 0x52b743
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 0xc
call fcn.004fb7b0
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x52b521
cmp dword [ebx], 0
jne 0x52b41c
mov edx, 0x11
mov esi, dword [esp + 0xc]
mov ecx, esi
push 0
push 1
push 0
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b40f
or byte [eax + 1], 0x38
cmp dword [esi], 0
mov esi, dword [esp + 0x2c]
je 0x52b6f1
cmp esi, 0x81
je 0x52b444
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52b444
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
mov ebx, dword [esp + 0xc]
mov ecx, ebx
call fcn.004fc770
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
cmp dword [ebx], 0
jne 0x52bb0d
mov eax, dword [ebx + 0x58]
add eax, dword [esp + 0x50]
sub esp, 8
mov edx, 0x5030100
mov ecx, ebx
push 1
push 0x40
push eax
push 0x8d
push eax
push 0x8d
call fcn.00507960
add esp, 0x20
jmp 0x52bb05
mov dword [esp + 0x20], 0
cmp dword [esp + 0x48], 0x29
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jne 0x52bb15
mov edx, 0x20
mov ecx, ebx
push 1
push 0x40
push dword [esp + 0x58]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov ecx, ebx
call fcn.004fc770
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
jmp 0x52bb15
cmp dword [esi], 4
jne 0x52b1ae
sub esp, 8
mov edx, 0x5030100
mov ecx, dword [esp + 0x14]
push 1
push 0x40
push 0
push 1
push ebx
push 0x8d
call fcn.00507960
add esp, 0x20
jmp 0x52b1ae
cmp esi, 0x87
jg 0x52b563
cmp esi, 0x81
je 0x52b563
cmp dword [ebx], 0
jne 0x52baf6
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52b89a
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52b8cb
cmp esi, 0x81
jne 0x52b67f
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x20], 0
js 0x52b67f
mov edx, 0x20
mov ecx, ebx
push dword [esp + 0x40]
push 0x8d
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
cmp dword [ebx], 0
jne 0x52baf6
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x1c]
sub eax, dword [ecx + 0x20]
shl eax, 2
mov edx, 1
mov esi, dword [esp + 0xc]
mov ecx, esi
push eax
push 0x81
push 0
push 0xc
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b5d5
mov byte [eax], 0x3b
cmp dword [esi], 0
mov esi, dword [esp + 0x2c]
jne 0x52baf6
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52ba7c
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52baa9
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edx, eax
test edx, edx
je 0x52b7b0
mov eax, dword [ebx + 0x30]
mov dword [edx], eax
mov dword [ebx + 0x30], edx
mov dword [edx + 4], 0x10
add edx, 8
mov dword [edx], 0
mov dword [edx + 8], 0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], edx
mov dword [esp + 0x20], edx
mov dword [ebx + 0x1c], edx
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
jbe 0x52b779
sub esp, 0xc
push 0x1000
jmp 0x52b78a
cmp dword [ebx], 0
jne 0x52b6bc
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x58]
add eax, dword [esp + 0x40]
mov edx, 1
mov ecx, esi
push eax
push 0x8d
push 0
push 0xc
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52b6af
mov byte [eax], 0x3b
cmp dword [esi], 0
mov esi, dword [esp + 0x2c]
je 0x52b978
cmp esi, 0x81
je 0x52baf6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52baf6
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
jmp 0x52baf6
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52b7cb
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52b7fc
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edx, eax
test edx, edx
je 0x52b7b0
mov eax, dword [ebx + 0x30]
mov dword [edx], eax
mov dword [ebx + 0x30], edx
mov dword [edx + 4], 0x10
add edx, 8
mov dword [edx], 0
mov dword [edx + 8], 0x2000
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], edx
mov dword [esp + 0x20], edx
mov dword [ebx + 0x1c], edx
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52b782
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52b7a9
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52b7b0
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
jmp 0x52b7be
mov dword [ebx], 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
jmp 0x52bb0d
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52b906
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x2000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 6
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52b837
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52b866
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52b906
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x52b41c
mov ecx, dword [ebx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
cmp esi, 0x81
jne 0x52b424
jmp 0x52b444
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52baec
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x30000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 5
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52b921
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52b950
mov eax, dword [esp + 0xc]
mov dword [eax], 2
cmp esi, 0x81
jne 0x52b424
jmp 0x52b444
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52baec
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x52baf6
mov ecx, dword [ebx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
jmp 0x52baf6
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52b99a
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52b9cb
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52ba65
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x2000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 6
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52ba06
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52ba31
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52ba65
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x52b6bc
mov ecx, dword [ebx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
cmp esi, 0x81
jne 0x52b6c8
jmp 0x52baf6
mov eax, dword [esp + 0xc]
mov dword [eax], 2
cmp esi, 0x81
je 0x52baf6
jmp 0x52b6c8
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52baec
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x2000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 6
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
jbe 0x52b8fd
sub esp, 0xc
push 0x1000
jmp 0x52b929
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov ebx, dword [esp + 0xc]
mov ecx, ebx
call fcn.004fc770
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x44], 0
mov dword [esp + 0x34], ebp
je 0x52bc98
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x44], 0
je 0x52bc85
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov edx, 0x20
mov ecx, ebx
push 4
push 0x82
push 0
push 3
call fcn.004fb7b0
add esp, 0x10
mov edx, 0x20
mov ecx, ebx
push 0
push 1
push dword [ebp + 0x44]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov edx, 0x20
mov ecx, ebx
push 8
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov ecx, dword [ebp]
cmp dword [ecx], 0
mov esi, ebx
jne 0x52bbba
mov edx, 0x11
push 0
push 2
push 0xc
push 0x40
call fcn.00506ea0
add esp, 0x10
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x44]
lea ebx, [ecx*4]
lea eax, [eax + ecx*4]
mov edx, 0x20
mov ecx, esi
push 0
push 3
push eax
push 0x8d
call fcn.004fb7b0
add esp, 0x10
or ebx, 4
add ebx, dword [ebp + 0x20]
mov edx, 0x20
mov ecx, esi
push 0
push 1
push ebx
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov ebx, esi
mov esi, dword [esp + 0x2c]
cmp esi, 0x81
je 0x52bca4
cmp esi, 0x8c
je 0x52bc29
cmp esi, 0x87
jne 0x52bd04
mov dword [esp + 0x10], 0
cmp dword [esp + 0x68], 0
mov eax, 0
mov dword [esp + 0x18], 0
mov ebp, 0
je 0x52c18e
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
je 0x52bea7
cmp dword [ebx], 0
jne 0x52bee9
jmp 0x52bec1
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x44]
sar ecx, 1
cmp byte [eax + ecx], 0
je 0x52be0a
cmp esi, 0x81
jne 0x52bc15
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x20], 0
js 0x52c096
mov edx, 0x20
mov ecx, ebx
push dword [esp + 0x40]
push 0x8d
push 0
push 2
call fcn.004fb7b0
add esp, 0x10
mov dword [esp + 0x10], 0
cmp dword [ebx], 0
jne 0x52c182
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52befe
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52bf2f
mov dword [esp + 0x10], 0
cmp dword [esp + 0x68], 0
je 0x52c182
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52bd51
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
mov eax, dword [esp + 0x30]
cmp eax, 5
jl 0x52bfc2
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
cmp dword [ebx], 0
jne 0x52c1ad
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub esp, 0xc
push eax
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c695
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov dword [ecx + 0xc], eax
mov dword [esp + 0x10], eax
lea ebp, [eax + 4]
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x52bdcf
mov edx, 1
mov ecx, dword [esp + 0xc]
push ebp
push 0x81
push 0
push 0
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52bdcf
mov byte [eax], 0xff
or byte [eax + 1], 0x20
add dword [esp + 0x10], 8
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
xor eax, eax
cmp dword [ebx], 0
jne 0x52c7ad
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x52c759
lea ecx, [eax + ecx + 8]
mov dword [esp + 0x58], ecx
mov dword [eax + 4], edx
jmp 0x52c788
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov edx, 0x20
mov ecx, ebx
push 4
push 0x82
push 0
push 3
call fcn.004fb7b0
add esp, 0x10
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
cmp dword [ecx], 0
mov esi, ebx
jne 0x52be61
mov edx, 0x11
push 0
push 2
push 8
push 0x40
call fcn.00506ea0
add esp, 0x10
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x44]
lea ebx, [ecx*4]
lea eax, [eax + ecx*4]
mov edx, 0x20
mov ecx, esi
push 0
push 1
push eax
push 0x8d
call fcn.004fb7b0
add esp, 0x10
or ebx, 4
add ebx, dword [ebp + 0x20]
mov edx, 0x20
mov ecx, esi
push 0
push 3
push ebx
push 0x8d
jmp 0x52bbfb
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
cmp dword [ebx], 0
jne 0x52bee9
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52bee0
or byte [eax + 1], 0x38
cmp dword [ebx], 0
je 0x52c02f
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 2
jmp 0x52c182
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52c0c1
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x32000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 5
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52bf6e
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52bf9d
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c0c1
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov dword [esp + 0x10], 0
cmp dword [edx], 0
je 0x52c015
mov dword [esp + 0x18], 0
xor ebp, ebp
mov ebx, edx
xor eax, eax
jmp 0x52c18e
mov dword [esp + 0x18], 0
cmp eax, 4
jne 0x52c85a
cmp dword [ebx], 0
jne 0x52c000
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 8
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52bff7
or byte [eax + 1], 0x38
cmp dword [ebx], 0
je 0x52c6e0
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 4
jmp 0x52c182
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x52c052
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c07d
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52c462
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x52c48d
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c0c1
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x30]
mov dword [eax], ecx
mov dword [edx + 0x30], eax
mov dword [eax + 4], 8
add eax, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xec]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [edx + 0xec], eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x10], 0
cmp dword [ebx], 0
jne 0x52c182
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52c0ca
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52c0f8
mov ebx, dword [esp + 0xc]
jmp 0x52c174
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x52c174
mov eax, dword [ebx + 0x30]
mov dword [ebp], eax
mov dword [ebx + 0x30], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x30000
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebp
mov dword [ebx + 0x1c], ebp
add dword [ebx + 0x48], 5
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c134
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c15b
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c174
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0x18], 0
jmp 0x52c18e
mov dword [ebx], 2
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0x18], 0
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.005020c0
cmp dword [ebx], 0
mov eax, ebp
je 0x52c1b8
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [eax + 0xc]
test ebx, ebx
mov ebp, dword [esp + 0x34]
je 0x52c1f0
mov ecx, dword [esp + 0xc]
call fcn.004fc770
nop dword [eax]
test eax, eax
je 0x52c1e9
mov ecx, dword [ebx]
test ecx, ecx
je 0x52c1e9
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x52c1d0
cmp esi, 0x8c
je 0x52c20c
mov dword [esp + 0x38], 0
cmp esi, 0x87
jne 0x52c9a4
movzx eax, word [ebp + 4]
lea ecx, [eax - 0x7d]
movzx ecx, cx
cmp ecx, 3
ja 0x52c2bf
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 0x20]
cmp dword [ebp + 0x18], 0
js 0x52c285
or eax, 2
movzx eax, ax
cmp eax, 0x7f
jne 0x52c285
mov edx, 0x20
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push dword [ebp + 0x1c]
push 0x8d
push 0
push 2
call fcn.004fb7b0
add esp, 0x10
cmp dword [ebx], 0
je 0x52c38f
mov eax, dword [ebp + 0x18]
shl eax, 2
xor eax, 0xfffffffc
mov edx, 0x20
mov ecx, ebx
push eax
push 0x82
push dword [ebp + 0x1c]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0xc]
cmp dword [esi], 0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
jne 0x52c653
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52c31d
lea ebp, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52c34b
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x52c2ed
mov ecx, dword [esp + 0xc]
cmp dword [ecx], 0
je 0x52c2fa
call fcn.004fc770
mov dword [esp + 0x38], 0
test eax, eax
jne 0x52c98a
jmp 0x52c99f
mov dword [esp + 0x38], 0
jmp 0x52c9a4
mov ebp, dword [ecx + 0x30]
mov ebx, dword [ebp + 4]
lea edx, [ebx + 0x10]
cmp edx, 0x7f8
mov esi, ecx
ja 0x52c3ed
lea eax, [ebp + ebx + 8]
mov dword [ebp + 4], edx
jmp 0x52c418
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebp, eax
test ebp, ebp
je 0x52c5c8
mov eax, dword [esi + 0x30]
mov dword [ebp], eax
mov dword [esi + 0x30], ebp
mov dword [ebp + 4], 0x10
add ebp, 8
mov dword [ebp], 0
mov dword [ebp + 8], 0x30000
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebp
mov dword [esp + 0x38], ebp
mov dword [esi + 0x1c], ebp
add dword [esi + 0x48], 5
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c3b4
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
mov ebp, dword [esp + 0x34]
jmp 0x52c3e3
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52c558
lea esi, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
jmp 0x52c589
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
mov ebp, dword [esp + 0x34]
je 0x52c645
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
mov dword [esi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
jmp 0x52c653
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c6a9
mov ecx, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov dword [eax], 0
mov dword [eax + 8], 0x30000
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0xc]
test edx, edx
cmovne ecx, edx
mov dword [ecx], eax
mov dword [esp + 0x38], eax
mov dword [esi + 0x1c], eax
add dword [esi + 0x48], 5
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c4cc
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c4f7
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c5dc
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0
mov edx, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test edx, edx
cmovne ecx, edx
mov dword [ecx], eax
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x1c], eax
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c505
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c530
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c6c3
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
mov dword [esi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov ecx, dword [esp + 0xc]
jmp 0x52c6d3
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c5dc
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 2
mov dword [esp + 0x18], 0
xor ebp, ebp
mov eax, dword [esp + 0x3c]
jmp 0x52c18e
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov esi, eax
test esi, esi
je 0x52c74a
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov dword [esi], eax
mov dword [edx + 0x30], esi
mov dword [esi + 4], 0x10
add esi, 8
mov dword [esi], 0
mov dword [esi + 8], 0x32000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], esi
mov dword [edx + 0x1c], esi
add dword [edx + 0x48], 5
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c5e7
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
mov ebx, dword [esp + 0xc]
jmp 0x52c616
mov dword [esi], 2
mov dword [esp + 0x38], 0
mov ebp, dword [esp + 0x34]
jmp 0x52c653
mov dword [ebx], 2
jmp 0x52bee9
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c74a
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [ebx], 0
jne 0x52c25f
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x52c701
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c72c
mov dword [esi], 2
mov dword [esp + 0x38], 0
mov eax, dword [ebx + 0x20]
mov ecx, esi
mov ebx, dword [eax + 0x14]
call fcn.004fc770
test ebx, ebx
je 0x52c9a4
nop dword [eax + eax]
test eax, eax
je 0x52c689
mov ecx, dword [ebx]
test ecx, ecx
je 0x52c689
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x52c670
jmp 0x52c9a4
cmp dword [ebx], 0
jne 0x52c1ad
mov dword [ebx], 2
jmp 0x52c1ad
mov dword [esi], 2
mov dword [esp + 0x38], 0
mov ecx, esi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
jmp 0x52c6d3
mov dword [esi], 2
mov dword [esp + 0x38], 0
mov ecx, esi
mov ebx, dword [ebx + 0x20]
call fcn.004fc770
jmp 0x52c982
mov ebp, dword [ebx + 0x30]
mov ecx, dword [ebp + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52c7c0
lea eax, [ebp + ecx + 8]
mov dword [ebp + 4], edx
jmp 0x52c7eb
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c74a
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x30]
mov dword [eax], ecx
mov dword [edx + 0x30], eax
mov dword [eax + 4], 8
add eax, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xec]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [edx + 0xec], eax
mov ebx, dword [esp + 0xc]
jmp 0x52c25f
mov ebx, dword [esp + 0xc]
mov dword [ebx], 2
jmp 0x52c25f
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c977
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0xc
add eax, 8
mov dword [esp + 0x58], eax
mov ecx, ebx
call fcn.004fc770
mov edx, dword [esp + 0x58]
mov dword [edx], eax
mov dword [edx + 4], ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc4]
mov dword [edx + 8], eax
mov dword [ecx + 0xc4], edx
xor eax, eax
mov dword [esp + 0x18], 0
xor ebp, ebp
mov ebx, dword [esp + 0xc]
jmp 0x52c18e
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c96c
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0x6000
mov edx, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test edx, edx
cmovne ecx, edx
mov dword [ecx], eax
mov dword [esp + 0x18], eax
mov dword [ebx + 0x1c], eax
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c82a
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c855
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c96c
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov dword [esp + 0x10], 0
cmp dword [ebx], 0
jne 0x52c893
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52c886
or byte [eax + 1], 0x38
mov dword [esp + 0x10], 0
cmp dword [ebx], 0
je 0x52c89a
xor eax, eax
jmp 0x52c18c
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52c8b6
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x52c8e1
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c959
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0x6000
mov edx, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test edx, edx
cmovne ecx, edx
mov dword [ecx], eax
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x1c], eax
add dword [ebx + 0x48], 6
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52c920
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52c947
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52c959
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
mov dword [ebx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov dword [esp + 0x10], 0
jmp 0x52c54d
mov dword [ebx], 2
mov dword [esp + 0x10], 0
jmp 0x52c893
mov dword [ebx], 2
jmp 0x52c000
mov dword [ebx], 2
jmp 0x52c7ab
test ebx, ebx
je 0x52c9a4
test eax, eax
je 0x52c99f
mov ecx, dword [ebx]
test ecx, ecx
je 0x52c99f
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ebx, dword [ebx + 4]
jmp 0x52c982
cmp dword [esp + 0x68], 0
mov ebx, dword [esp + 0xc]
je 0x52d4cf
mov eax, dword [esp + 0x64]
lea eax, [ebp + eax*2]
mov ebp, dword [esp + 0x44]
test ebp, ebp
setne cl
cmp dword [esp + 0x5c], 0x79
sete ch
xor edi, 0x78
mov edx, dword [esp + 0x54]
lea edx, [edx*4]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x4c]
xor edx, 0x83
mov esi, ebx
xor ebx, ebx
or dx, di
sete byte [esp + 0x62]
setne bl
mov dword [esp + 0x88], ebx
mov ebx, esi
mov edx, ebp
sar edx, 1
mov dword [esp + 0x78], edx
xor edx, edx
mov esi, dword [esp + 0x2c]
cmp esi, 0x81
setne dl
mov dword [esp + 0x84], edx
and ch, cl
mov byte [esp + 0x63], ch
lea ecx, [ebp*4]
or ecx, 4
mov dword [esp + 0x80], ecx
lea ecx, [ebx + 0xc]
mov dword [esp + 0x6c], ecx
movzx ecx, word [eax]
mov dword [esp + 0x58], 4
nop word [eax + eax]
mov ebp, ebx
mov edi, dword [esp + 0x1c]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 4], 0
movzx ecx, cx
cmp ecx, 0x77
jne 0x52cac0
movzx ecx, word [eax + 2]
lea ecx, [eax + ecx*2]
mov dword [esp + 0x64], ecx
lea ebx, [eax + 4]
cmp esi, 0x81
je 0x52cace
cmp esi, 0x87
mov edi, dword [esp + 0x14]
je 0x52cb03
cmp esi, 0x8c
je 0x52cb03
mov eax, dword [esp + 0x40]
mov edx, 0x20
mov ecx, ebp
test eax, eax
je 0x52caf0
push eax
push 0x8d
push 0
push 0xc
jmp 0x52cafb
mov dword [esp + 0x64], eax
cmp esi, 0x81
je 0x52cb2d
jmp 0x52cb4c
mov edx, 0x20
mov ecx, ebp
push dword [esp + 0x7c]
push 0x82
push 0
push 0xc
call fcn.004fb7b0
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x52cb03
push 0
push 0x82
push 0
push 0xc
call fcn.004fb7b0
add esp, 0x10
sub esp, 8
mov ecx, edi
mov edx, ebx
mov edi, dword [esp + 0x24]
push edi
push dword [esp + 0x70]
call fcn.004fc850
add esp, 0x10
cmp dword [ebp], 0
jne 0x52c1ad
cmp esi, 0x81
jne 0x52cb4c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
push dword [esp + 0x54]
push dword [esp + 0x6c]
push dword [esp + 0x48]
push dword [edi + 0x20]
call fcn.0052a3e0
add esp, 0x10
xor eax, eax
cmp dword [esp + 0x48], 0x28
jne 0x52cb76
mov edx, 0x20
mov ecx, ebp
push dword [esp + 0x50]
push 0x8d
push 0
push 3
call fcn.004fb7b0
add esp, 0x10
mov eax, 1
add eax, dword [esp + 0x88]
cmp dword [esp + 0x44], 0
je 0x52cba0
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x44], 1
sbb eax, 0xffffffff
mov ecx, dword [ecx + 0x10]
lea edx, [eax + 2]
mov edi, dword [esp + 0x78]
cmp byte [ecx + edi], 0
cmove eax, edx
add eax, dword [esp + 0x84]
jle 0x52cd50
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx]
xor ebx, ebx
cmp dword [ebp], 0
jne 0x52ccd0
shl eax, 2
mov edx, 0x11
mov ecx, ebp
push 0
push 2
push eax
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52cbe0
or byte [eax + 1], 0x28
xor ebx, ebx
cmp dword [ebp], 0
jne 0x52ccd0
mov edx, 1
mov ecx, ebp
push 0
push 0xa
push 0
push 2
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52cc0a
mov byte [eax], 0x3b
xor ebx, ebx
cmp dword [ebp], 0
jne 0x52ccd0
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52cc30
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52cc59
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52ccc2
mov eax, dword [ebp + 0x30]
mov dword [ebx], eax
mov dword [ebp + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x4000
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [ebp + 0x1c], ebx
add dword [ebp + 0x48], 6
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52cc94
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52ccbb
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52ccc2
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ecx
mov dword [ebp + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
jmp 0x52ccd0
mov dword [ebp], 2
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
cmp dword [ebp], 0
jne 0x52cd50
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x52ccf6
lea edi, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52cd23
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edi, eax
test edi, edi
je 0x52d26b
mov eax, dword [ebp + 0x30]
mov dword [edi], eax
mov dword [ebp + 0x30], edi
mov dword [edi + 4], 0xc
add edi, 8
mov dword [edi], ebx
mov ecx, ebp
call fcn.004fc770
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc0]
mov dword [edi + 8], eax
mov dword [ecx + 0xc0], edi
nop word cs:[eax + eax]
xor ebx, ebx
cmp dword [esp + 0x48], 0x28
mov ebp, dword [esp + 0xc]
jne 0x52cd68
mov ebx, 1
cmp dword [ebp], 0
je 0x52cd78
cmp byte [esp + 0x62], 0
je 0x52cde0
mov edi, dword [esp + 0x1c]
jmp 0x52ce2e
mov edx, 1
mov ecx, ebp
push 0xffffffffffffffff
push 0x83
push 0
push 0xe
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d109
mov byte [eax], 0x8d
mov edx, 1
mov ecx, ebp
push 0
push 0x82
push 0
push 0xe
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d109
mov byte [eax], 0x89
mov ebx, 1
mov esi, dword [esp + 0x2c]
cmp byte [esp + 0x62], 0
jne 0x52cd6f
nop word cs:[eax + eax]
lea eax, [ebx*4]
cmp dword [esp + 0x5c], 0x78
je 0x52ce10
mov edx, 0x20
mov ecx, ebp
push 0
push 0xc
push eax
push 0x82
jmp 0x52ce21
mov edx, 0x20
mov ecx, ebp
push 0
push 0x40
push eax
push 0x82
call fcn.004fb7b0
add esp, 0x10
mov edi, dword [esp + 0x1c]
inc ebx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x52ce4e
sub esp, 8
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push dword [esp + 0x48]
push eax
call fcn.0052a5a0
add esp, 0x10
mov ebx, eax
cmp esi, 0x81
je 0x52ce74
shl ebx, 2
mov edx, 0x20
mov ecx, ebp
push dword [esp + 0x58]
push 0x40
push ebx
push 0x82
call fcn.004fb7b0
add esp, 0x10
cmp byte [esp + 0x63], 0
mov esi, ebp
je 0x52ceb5
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x78]
cmp byte [eax + ecx], 0
je 0x52ceb5
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
add eax, dword [esp + 0x80]
mov edx, 0x20
mov ecx, esi
push 0
push 0xc
push eax
push 0x8d
call fcn.004fb7b0
add esp, 0x10
cmp dword [esi], 0
mov esi, dword [esp + 0x2c]
je 0x52cf10
cmp esi, 0x81
je 0x52d080
mov esi, dword [esp + 0x30]
cmp esi, 5
jl 0x52cf40
mov esi, dword [esp + 0x10]
lea ebp, [esi + 4]
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
cmp dword [ebx], 0
jne 0x52d1f0
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0xc]
cmp edx, 0x7f8
ja 0x52d1a2
lea edi, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52d1cf
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52cfb6
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov ecx, ebp
jmp 0x52cfe5
mov ecx, ebp
call fcn.004fc770
cmp dword [esp + 0x58], 8
jne 0x52d09c
mov edx, dword [esp + 0x18]
test edx, edx
je 0x52cf6d
test eax, eax
je 0x52cf6d
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
cmp esi, 4
jne 0x52d19c
cmp dword [ebp], 0
mov esi, dword [esp + 0x10]
jne 0x52cfa9
mov edx, 0x11
mov ecx, ebp
push 0
push 1
push 0xc
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52cf9f
or byte [eax + 1], 0x38
cmp dword [ebp], 0
je 0x52d296
mov dword [esp + 0x3c], 0
jmp 0x52d102
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52d087
mov ecx, ebp
mov eax, dword [ecx + 0x30]
mov dword [ebx], eax
mov dword [ecx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x30000
mov eax, dword [ecx + 0x1c]
test eax, eax
cmove eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov dword [ecx + 0x1c], ebx
add dword [ecx + 0x48], 5
mov ecx, dword [ecx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52d01f
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52d048
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52d087
mov edx, ebp
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [edi + 0x14]
test eax, eax
je 0x52cebe
mov ecx, dword [ebx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
cmp esi, 0x81
jne 0x52ceca
nop word cs:[eax + eax]
mov esi, ebp
jmp 0x52d201
mov dword [ebp], 2
cmp esi, 0x81
jne 0x52ceca
jmp 0x52d080
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x52d0b7
test eax, eax
je 0x52d0b7
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
cmp esi, 3
jne 0x52d19c
cmp dword [esp + 0x58], 4
mov esi, dword [esp + 0x10]
jne 0x52d102
cmp dword [ebp], 0
jne 0x52d0fa
mov edx, 0x11
mov ecx, ebp
push 0
push 1
push 8
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d0f0
or byte [eax + 1], 0x38
cmp dword [ebp], 0
je 0x52d2b2
mov dword [esp + 0x18], 0
mov ebp, esi
jmp 0x52d1f0
mov ebx, 1
cmp dword [ebp], 4
mov esi, dword [esp + 0x2c]
jne 0x52cd68
mov edx, 1
mov ecx, ebp
push 0
push 0xe
push 0
push 3
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d277
mov byte [eax], 0x89
mov edx, 0x11
mov ecx, ebp
push 0
push 0xe
push 1
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d187
or byte [eax + 1], 0x28
mov ebx, 1
mov edx, 1
mov ecx, ebp
push 0
push 0x82
push 0
push 0xe
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52cd68
mov byte [eax], 0x89
mov ebx, 1
cmp byte [esp + 0x62], 0
jne 0x52cd6f
jmp 0x52cde0
mov ebp, dword [esp + 0x10]
jmp 0x52d1f0
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edi, eax
test edi, edi
je 0x52d28b
mov eax, dword [ebx + 0x30]
mov dword [edi], eax
mov dword [ebx + 0x30], edi
mov dword [edi + 4], 0xc
add edi, 8
mov ecx, ebx
call fcn.004fc770
mov dword [edi], eax
mov dword [edi + 4], esi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc4]
mov dword [edi + 8], eax
mov dword [ecx + 0xc4], edi
nop
add dword [esp + 0x58], 4
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x14]
call fcn.005020c0
mov ebp, esi
cmp dword [esi], 0
mov esi, dword [esp + 0x2c]
jne 0x52c1ad
mov edi, dword [edi + 0xc]
test edi, edi
mov ebx, ebp
je 0x52d250
mov ecx, ebx
call fcn.004fc770
nop dword [eax]
test eax, eax
je 0x52d249
mov ecx, dword [edi]
test ecx, ecx
je 0x52d249
mov edx, dword [ecx + 8]
and edx, 0xfffffffc
or edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov edi, dword [edi + 4]
test edi, edi
jne 0x52d230
mov edx, dword [esp + 0x64]
movzx eax, word [edx]
mov cx, 0x77
cmp eax, 0x77
mov eax, edx
je 0x52ca50
jmp 0x52d40c
mov dword [ebp], 2
jmp 0x52cd50
mov ebx, 1
cmp dword [ebp], 0
jne 0x52cd68
jmp 0x52d13e
mov dword [ebx], 2
jmp 0x52d1f0
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52d2d3
lea ecx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov eax, ecx
jmp 0x52d2fa
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52d360
lea edi, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52d38d
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52d34c
mov ecx, dword [ebp + 0x30]
mov dword [eax], ecx
mov dword [ebp + 0x30], eax
mov dword [eax + 4], 0x10
add eax, 8
mov dword [eax], 0
mov dword [eax + 8], 0x6000
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
cmove ecx, dword [esp + 0x6c]
mov dword [ecx], eax
mov dword [esp + 0x3c], eax
mov dword [ebp + 0x1c], eax
add dword [ebp + 0x48], 6
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
jbe 0x52d3c2
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
jne 0x52d3e4
mov dword [ebp], 2
mov dword [esp + 0x3c], 0
jmp 0x52d102
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edi, eax
test edi, edi
je 0x52d400
mov eax, dword [ebp + 0x30]
mov dword [edi], eax
mov dword [ebp + 0x30], edi
mov dword [edi + 4], 0x10
add edi, 8
mov dword [edi], 0
mov dword [edi + 8], 0x6000
mov eax, dword [ebp + 0x1c]
test eax, eax
cmove eax, dword [esp + 0x6c]
mov dword [eax], edi
mov dword [ebp + 0x1c], edi
add dword [ebp + 0x48], 6
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52d3cb
mov dword [esp + 0x18], edi
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52d3f6
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52d400
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ecx
mov dword [ebp + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
jmp 0x52d102
mov dword [ebp], 2
jmp 0x52d0fa
mov edi, dword [esp + 0x38]
test edi, edi
je 0x52d4a8
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x20]
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 4]
cmp eax, 0x80
je 0x52d436
movzx eax, ax
cmp eax, 0x7e
jne 0x52d48e
cmp dword [esi + 0x18], 0
js 0x52d48e
mov edx, 0x20
mov ecx, ebx
push dword [esi + 0x1c]
push 0x8d
push 0
push 2
call fcn.004fb7b0
add esp, 0x10
cmp dword [ebx], 0
mov edi, ebx
je 0x52db5e
mov eax, dword [esi + 0x18]
shl eax, 2
xor eax, 0xfffffffc
mov edx, 0x20
mov ecx, edi
push eax
push 0x82
push dword [esi + 0x1c]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov ebx, edi
mov edi, dword [esp + 0x38]
mov ecx, ebx
call fcn.004fc770
test eax, eax
je 0x52d4a8
mov ecx, dword [edi + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
cmp dword [esp + 0x40], 0
jne 0x52d4cf
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52d4cf
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
mov eax, dword [esp + 0x44]
test eax, eax
mov ebp, ebx
je 0x52d58a
mov edi, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [edi + 0x10]
sar ecx, 1
mov esi, ebx
mov bl, byte [eax + ecx]
mov edx, 0x20
mov ecx, esi
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
cmp bl, 0
je 0x52d5df
mov edx, 0x20
mov ecx, esi
push 4
push 0x82
push 0
push 3
call fcn.004fb7b0
add esp, 0x10
mov ecx, dword [edi]
cmp dword [ecx], 0
mov ebx, esi
jne 0x52d548
mov edx, 0x11
push 0
push 2
push 8
push 0x40
call fcn.00506ea0
add esp, 0x10
mov eax, dword [edi + 0x20]
mov esi, dword [esp + 0x44]
lea eax, [eax + esi*4]
shl esi, 2
mov edx, 0x20
mov ecx, ebx
push 0
push 1
push eax
push 0x8d
call fcn.004fb7b0
add esp, 0x10
or esi, 4
add esi, dword [edi + 0x20]
mov edx, 0x20
mov ecx, ebx
push 0
push 3
push esi
push 0x8d
jmp 0x52d611
mov esi, dword [esp + 0x2c]
mov eax, esi
or eax, 4
cmp eax, 0x8c
mov edi, dword [esp + 0x14]
jne 0x52d671
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push dword [esp + 0x48]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52d61d
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
jmp 0x52d892
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52d5fb
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
mov edx, 0x20
mov ebx, ebp
mov ecx, ebx
push 0
push 1
push dword [esp + 0x48]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x48], 0x29
jne 0x52d8a0
cmp dword [ebx], 0
jne 0x52d6c5
mov eax, dword [ebx + 0x58]
add eax, dword [esp + 0x50]
mov edx, 1
mov ecx, ebx
push eax
push 0x8d
push 0
push 1
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d6c0
mov byte [eax], 0x8b
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 1
push 0x40
call fcn.00506ea0
add esp, 0x10
jmp 0x52d6c5
cmp esi, 0x81
jne 0x52d61d
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
test eax, eax
js 0x52d7a4
mov edx, 2
cmp dword [esp + 0x5c], 0x78
jne 0x52d6ad
mov edx, dword [esp + 0x34]
movzx ecx, word [edx + ecx*2]
xor edx, edx
cmp ecx, 0x77
sete dl
inc edx
add eax, dword [esp + 0x54]
add eax, edx
test eax, eax
jg 0x52d7cc
jmp 0x52d7ea
cmp dword [ebx], 0
je 0x52d658
mov edx, 0x20
mov ecx, ebx
push 0
push 1
push dword [esp + 0x58]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
cmp dword [ebx], 0
jne 0x52c1ad
mov edi, dword [esp + 0x70]
mov eax, edi
sub eax, 0xffffff80
cmp eax, 0x100
jb 0x52d716
mov esi, ebp
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 6]
cmp edx, 0xff8
ja 0x52d741
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52d76c
mov edx, 0x11
mov esi, ebp
mov ecx, esi
push 0
push 1
push edi
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d77a
or byte [eax + 1], 0x38
cmp dword [esi], 0
jne 0x52c1ad
jmp 0x52d783
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52dcc2
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
mov dword [esi + 0x2c], eax
mov dword [eax + 4], 6
add eax, 8
mov byte [eax], 5
add dword [esi + 0x48], 5
mov byte [eax + 1], 0x3d
mov dword [eax + 2], edi
cmp dword [esi], 0
jne 0x52c1ad
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52daf6
lea edi, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52db23
mov eax, dword [esp + 0x5c]
cmp eax, 0x79
je 0x52d7c7
cmp eax, 0x7a
je 0x52df6e
mov eax, dword [esp + 0x34]
movzx eax, word [eax + ecx*2]
cmp eax, 0x77
jne 0x52df6e
mov eax, dword [esp + 0x54]
inc eax
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52d7ea
shl eax, 2
mov edx, 0x11
push 0
push 2
push eax
push 0x40
call fcn.00506ea0
add esp, 0x10
mov ecx, ebx
call fcn.004fc770
cmp dword [esp + 0x74], 0
je 0x52d80f
test eax, eax
je 0x52d80f
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
test eax, eax
js 0x52d838
shl eax, 2
xor eax, 0xfffffffc
mov edx, 0x20
mov ecx, ebx
push eax
push 0x82
push dword [esp + 0x48]
push 0x8d
jmp 0x52d88d
cmp dword [esp + 0x5c], 0x7a
jne 0x52d61d
mov edx, 0x20
mov ecx, ebx
push 4
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52d879
mov edx, 0x11
push 0
push 2
push 8
push 0x40
call fcn.00506ea0
add esp, 0x10
mov edx, 0x20
mov ecx, ebx
push 0
push 1
push dword [esp + 0x48]
push 0x8d
call fcn.004fb7b0
add esp, 0x10
cmp dword [esp + 0x48], 0x29
je 0x52d628
mov eax, dword [esp + 0x5c]
cmp eax, 0x79
jne 0x52d993
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 0xc
call fcn.004fb7b0
add esp, 0x10
movzx esi, word [esp + 0x4c]
cmp esi, 0x92
je 0x52d8f0
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52d8f0
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
cmp dword [ebx], 0
jne 0x52d91f
mov edx, 0x11
mov edi, ebp
mov ecx, edi
push 0
push 0xc
push 0
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d916
or byte [eax + 1], 0x38
cmp dword [edi], 0
je 0x52dad3
cmp esi, 0x92
jne 0x52c1ad
mov edx, 0x20
mov edi, ebp
mov ecx, edi
push 4
push 0x82
push 0
push 0xc
call fcn.004fb7b0
add esp, 0x10
cmp dword [edi], 0
mov esi, dword [esp + 0x14]
je 0x52dab0
mov ecx, edi
call fcn.004fc770
mov edx, dword [esp + 0x20]
test edx, edx
je 0x52d976
test eax, eax
je 0x52d976
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov ecx, dword [esi]
cmp dword [ecx], 0
jne 0x52c1ad
mov edx, 0x11
push 0
push 2
push 4
push 0x40
jmp 0x52e076
cmp eax, 0x7a
jne 0x52da45
mov edx, 0x20
mov ecx, ebx
push 0
push 0x82
push 0
push 1
call fcn.004fb7b0
add esp, 0x10
cmp esi, 0x81
je 0x52d9da
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52d9da
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x10
cmp dword [ebx], 0
jne 0x52da07
mov edx, 0x11
mov ecx, ebx
push 0
push 1
push 0
push 0x40
call fcn.00506ea0
add esp, 0x10
test eax, eax
je 0x52d9fe
or byte [eax + 1], 0x38
cmp dword [ebx], 0
je 0x52dd37
cmp esi, 0x81
jne 0x52e04a
mov ecx, dword [edi]
cmp dword [ecx], 0
jne 0x52c1ad
movzx eax, word [esp + 0x4c]
xor edx, edx
cmp eax, 0x93
sete dl
lea eax, [edx*4 + 4]
mov edx, 0x11
push 0
push 2
push eax
push 0x40
jmp 0x52e076
movzx eax, word [esp + 0x4c]
cmp eax, 0x92
mov ebx, dword [esp + 0x1c]
jne 0x52c1ad
mov edx, 0x20
mov esi, ebp
mov ecx, esi
push 0
push 0x82
push 0
push 0xc
call fcn.004fb7b0
add esp, 0x10
cmp dword [esi], 0
je 0x52dbd4
mov ecx, esi
call fcn.004fc770
cmp dword [esp + 0x20], 0
je 0x52c1ad
test eax, eax
je 0x52c1ad
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x52c1ad
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52dbf5
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, ebp
jmp 0x52dc24
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52dccd
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, ebp
jmp 0x52dcfc
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edi, eax
test edi, edi
je 0x52dc5f
mov eax, dword [ebp + 0x30]
mov dword [edi], eax
mov dword [ebp + 0x30], edi
mov dword [edi + 4], 0x10
add edi, 8
mov dword [edi], 0
mov dword [edi + 8], 0xa000
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], edi
mov dword [ebp + 0x1c], edi
add dword [ebp + 0x48], 6
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52db81
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52dbac
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52ddc8
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov ecx, ebp
jmp 0x52ddf7
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52dc5f
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ecx
mov dword [ebp + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [esp + 0x24], 0
je 0x52c1ad
mov eax, dword [edi + 8]
and eax, 0xfffffffc
or eax, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
jmp 0x52c1ad
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52de54
lea edi, [eax + ecx + 8]
mov dword [eax + 4], edx
jmp 0x52de81
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52dd5a
mov edx, ebp
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x30000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 5
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52dc6b
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52dc98
mov dword [ebp], 2
jmp 0x52c1ad
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52dd5a
mov edx, ebp
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1c]
test eax, eax
mov edi, ebp
je 0x52d954
mov ecx, dword [ebx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
jmp 0x52d954
mov dword [esi], 2
jmp 0x52c1ad
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52de3c
mov edx, ebp
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x2000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 6
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52dd67
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52dd94
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, 0x7f8
ja 0x52df7f
lea ebx, [eax + ecx + 8]
mov dword [eax + 4], edx
mov edx, ebp
jmp 0x52dfae
mov edi, ebp
mov dword [edi], 2
jmp 0x52d954
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52de3c
mov edx, ebp
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [edx + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x52d91f
mov ecx, dword [ebx + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
cmp esi, 0x92
jne 0x52c1ad
jmp 0x52d92b
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52e0e0
mov ecx, ebp
mov eax, dword [ecx + 0x30]
mov dword [ebx], eax
mov dword [ecx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x32000
mov eax, dword [ecx + 0x1c]
test eax, eax
mov edx, dword [esp + 0x6c]
cmovne edx, eax
mov dword [edx], ebx
mov dword [ecx + 0x1c], ebx
add dword [ecx + 0x48], 5
mov ecx, dword [ecx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52debf
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
mov edi, ebp
jmp 0x52deec
mov dword [ebp], 2
cmp esi, 0x92
jne 0x52c1ad
jmp 0x52d92b
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov edi, eax
test edi, edi
je 0x52dfe9
mov eax, dword [esi + 0x30]
mov dword [edi], eax
mov dword [esi + 0x30], edi
mov dword [edi + 4], 0x10
add edi, 8
mov dword [edi], 0
mov dword [edi + 8], 0x30000
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], edi
mov dword [esi + 0x1c], edi
add dword [esi + 0x48], 5
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52df1f
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52df4a
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52e0e0
mov edi, ebp
mov ecx, dword [edi + 0x2c]
mov dword [eax], ecx
mov dword [edi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [edi], 0
jne 0x52d462
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 4]
lea edx, [eax + 8]
cmp edx, 0x7f8
ja 0x52e09b
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x14]
jmp 0x52e0c8
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52dfe9
mov ecx, dword [esi + 0x2c]
mov dword [eax], ecx
mov dword [esi + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x52da7e
mov ecx, dword [edi + 8]
and ecx, 0xfffffffc
or ecx, 1
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
jmp 0x52da7e
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x52d7cc
jmp 0x52d7ea
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x52e086
mov edx, ebp
mov eax, dword [edx + 0x30]
mov dword [ebx], eax
mov dword [edx + 0x30], ebx
mov dword [ebx + 4], 0x10
add ebx, 8
mov dword [ebx], 0
mov dword [ebx + 8], 0x2000
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ecx], ebx
mov dword [edx + 0x1c], ebx
add dword [edx + 0x48], 6
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
lea edx, [eax + 2]
cmp edx, 0xff8
ja 0x52dff4
lea eax, [ecx + eax + 8]
mov dword [ecx + 4], edx
jmp 0x52e01b
mov dword [esi], 2
jmp 0x52da7e
sub esp, 0xc
push 0x1000
call dword [0x545970]
add esp, 0x10
test eax, eax
je 0x52e086
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ecx
mov dword [ebp + 0x2c], eax
mov dword [eax + 4], 2
add eax, 8
mov word [eax], pe_nt_image_headers32
cmp dword [esp + 0x28], 0
je 0x52da07
mov eax, dword [ebx + 8]
and eax, 0xfffffffc
or eax, 1
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
cmp esi, 0x81
je 0x52da13
movzx eax, word [esp + 0x4c]
cmp eax, 0x93
jne 0x52c1ad
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 0
jne 0x52c1ad
mov edx, 0x11
push 0
push 2
push 4
push 0x40
call fcn.00506ea0
add esp, 0x9c
jmp 0x52c1b3
mov dword [ebp], 2
cmp esi, 0x81
je 0x52da13
jmp 0x52e04a
sub esp, 0xc
push 0x800
call dword [0x545970]
add esp, 0x10
test eax, eax
mov edx, dword [esp + 0x14]
je 0x52e0e0
mov edi, ebp
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov dword [edi + 0x30], eax
mov dword [eax + 4], 8
add eax, 8
mov ecx, dword [edx + 0xec]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [edx + 0xec], eax
mov edi, ebp
jmp 0x52d462
mov edi, ebp
mov dword [edi], 2
jmp 0x52d462