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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x634059
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x10]
push 0xa0
mov dword [esp + 0x60], 0xfeefed
mov dword [esp + 0x64], 0xfeefed
lea ecx, [edi + 0x24]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.0053ac56
mov ebx, eax
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x54], 0
mov dword [ebx + 4], 0xfeefed
mov dword [ebx + 8], 0xfeefed
mov dword [ebx + 0xc], eax
mov word [ebx], ax
mov dword [ebx + 0x10], eax
mov word [ebx + 0x20], ax
mov eax, dword [edi + 0x1d8]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x58], 0
mov dword [esp + 0x10], 0
and byte [eax + 0x7b], 0xfe
mov ecx, dword [esi + 0x10]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + 0x14c], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 0x138], ebx
and dword [ebx + 0x94], 0xfffffff0
mov dword [ebx + 0x98], 5
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x14]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004d1da6
lea eax, [esp + 0x1c]
push eax
push 0x10
push 1
push edi
push 0
lea ecx, [esp + 0x60]
call fcn.00418016
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x50]
call 0x3dc936
test eax, eax
je 0x5342b0
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x50]
call 0x3dc936
cmp byte [eax], 1
je 0x5342b0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push 0
push dword [ebx + 0x6c]
mov edx, dword [edx + 0x14]
call fcn.004d1c36
mov ecx, dword [ebx + 0x3c]
mov edi, eax
push 0
push 0
push 1
mov edx, edi
call fcn.00418ab6
mov dword [ebx + 0x84], edi
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x2c]
push 0x84
mov edx, 3
mov edi, dword [eax + 0x14]
call 0x3bd1e6
mov ebx, dword [eax]
mov eax, dword [edi + 4]
and ebx, 0xfffffffc
sub eax, dword [edi]
cmp eax, ebx
jae 0x5342e3
push 0x84
mov ecx, edi
call 0x3bcf16
mov ecx, dword [edi]
push 0x84
push 0
push ecx
lea eax, [ecx + ebx]
mov dword [edi], eax
call 0x5a49f2
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
test edx, edx
je 0x534366
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
push 0x84
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
push 0
push edx
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x30], eax
call 0x5a49f2
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [edx + 0x14], edi
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 0x10], eax
mov dword [edx + 8], ecx
mov dword [edx + 0x80], 0
jmp 0x534368
xor edx, edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x38], 0xfeefed
mov dword [esp + 0x3c], 0xfeefed
mov dword [esp + 0x40], 0
mov dword [ebx + 0x8c], edx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], 0
mov dword [eax + 0xa0], edx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x110], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x114], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x28]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
lea eax, [ebx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x5345b3
cmp dword [eax], 0
je 0x5345b3
xor edi, edi
call 0x3db566
test eax, eax
je 0x5343ee
mov eax, dword [eax + 0x50]
inc edi
test eax, eax
jne 0x5343e6
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
lea eax, [edi*4]
push eax
call 0x3bcda6
mov ecx, dword [esi + 0x28]
xor edi, edi
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x534422
mov ecx, dword [ecx]
test ecx, ecx
je 0x534422
mov dword [eax + edi*4], ecx
inc edi
mov ecx, dword [ecx + 0x50]
test ecx, ecx
jne 0x534417
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x534452
mov ecx, ebx
call 0x3db496
test al, al
jne 0x53443f
mov ecx, ebx
call 0x3da826
test al, al
je 0x534452
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x3c]
call fcn.00421446
mov ecx, eax
mov dword [esp + 0x1c], eax
jmp 0x534458
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
cmp dword [eax + 0xc], 0
je 0x534541
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.004191f6
mov byte [esp + 0x33], al
test al, al
je 0x5344b2
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push edi
push dword [esp + 0x2c]
mov ecx, dword [ecx + 0xc]
push ebx
push dword [esp + 0x20]
call fcn.00419126
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x534538
mov al, byte [ebx]
cmp al, 6
jne 0x5344df
mov ecx, dword [ebx + 0x50]
call 0x3dc936
test eax, eax
je 0x5344db
mov ecx, dword [ebx + 0x50]
call 0x3dc936
mov ecx, eax
call 0x3db036
test al, al
jne 0x5344db
xor cl, cl
jmp 0x5344ec
mov cl, 1
jmp 0x5344ec
movzx eax, al
mov cl, byte [eax + eax*2 + 0x405210]
and cl, 1
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x18]
push 0
setne al
push 0
add eax, 0x28
push eax
call fcn.00418d06
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
and byte [eax + 0x4a], 0xfb
cmp byte [esp + 0x33], 0
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x50], ebx
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], ecx
je 0x534538
push eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
call fcn.00419016
mov ebx, dword [esp + 0x2c]
jmp 0x5345ec
mov al, byte [ebx]
cmp al, 6
jne 0x53456e
mov ecx, dword [ebx + 0x50]
call 0x3dc936
test eax, eax
je 0x53456a
mov ecx, dword [ebx + 0x50]
call 0x3dc936
mov ecx, eax
call 0x3db036
test al, al
jne 0x53456a
xor cl, cl
jmp 0x53457b
mov cl, 1
jmp 0x53457b
movzx eax, al
mov cl, byte [eax + eax*2 + 0x405210]
and cl, 1
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x18]
push 0
setne al
push 0
add eax, 0x28
push eax
call fcn.00418d06
mov ebx, eax
mov eax, dword [esp + 0x10]
and byte [ebx + 0x4a], 0xfb
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x5c], eax
jmp 0x5345e8
mov edi, dword [esi + 0x54]
test edi, edi
je 0x5345e5
mov ecx, edi
call 0x3db496
test al, al
jne 0x5345d0
mov ecx, edi
call 0x3da826
test al, al
je 0x5345e5
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x54]
add edx, 0x1b8
call fcn.00421446
mov ebx, eax
jmp 0x5345e8
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x2c], ebx
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x5c]
push ecx
push ebx
push dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov ecx, esi
push dword [eax + 0x714]
call 0x52e956
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x534664
push ecx
lea ecx, [esp + 0x38]
call fcn.004e3056
mov edi, eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.004e38b6
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.004e3b86
push 0
push ecx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.004e4fc6
mov ecx, dword [esi + 0x10]
add esp, 4
push eax
call fcn.00511246
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call 0x52da86
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x28]
test byte [eax + 1], 8
jne 0x5346c3
mov ebx, dword [esi + 0x68]
test ebx, ebx
je 0x5346c3
push ecx
lea ecx, [esp + 0x38]
call fcn.004e3056
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004e3056
mov ebx, eax
lea ecx, [esp + 0x34]
mov dword [ebx + 0x20], edi
mov byte [ebx + 0x24], 1
call fcn.004e1966
push 0
push ecx
push eax
push ebx
lea ecx, [esp + 0x44]
call fcn.004e4fc6
mov ecx, dword [esi + 0x10]
add esp, 4
push eax
call fcn.00511246
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call 0x52da86
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esi + 0x9c], edi
jbe 0x5347e6
nop
cmp byte [esi + 0x4d], 0
je 0x5346e4
mov eax, dword [esi + 0xac]
jmp 0x5346ea
mov eax, dword [esi + 0xa0]
push dword [esp + 0x18]
mov ebx, dword [eax + edi*4]
lea ecx, [esp + 0x38]
call fcn.004e3056
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004e3056
mov ebx, eax
mov dword [ebx + 0x20], edi
mov edi, dword [esp + 0x10]
mov byte [ebx + 0x24], 1
lea eax, [edi*4]
mov ecx, dword [esi + 0xa0]
mov ecx, dword [ecx + eax]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x14]
call fcn.00547d56
push 0
push eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x3c]
call 0x3da876
push eax
lea ecx, [esp + 0x38]
call fcn.004e3056
push eax
push ebx
lea ecx, [esp + 0x3c]
call fcn.004e4fc6
mov ebx, dword [esi + 0x10]
push 0
push 0
movzx ecx, word [eax + 0x20]
push 0
push 0
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x2c]
push 0x4040
push dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00454376
mov edx, eax
test byte [edx + 2], 1
je 0x5347ae
mov ecx, dword [ebx + 0x13c]
test ecx, ecx
je 0x53479f
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x53479f
or word [ecx + 2], 1
jmp 0x5347ae
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x5347ae
or word [eax + 2], 1
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push 0
push dword [esp + 0x14]
add eax, 4
push eax
push dword [esp + 0x30]
push edx
call fcn.005112c6
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call 0x52da86
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esi + 0x9c]
jb 0x5346d6
mov ebx, dword [esi + 0x64]
test ebx, ebx
je 0x5348b0
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
call fcn.004e3056
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004e3056
mov ebx, eax
xor ecx, ecx
mov dword [ebx + 0x20], edi
mov byte [ebx + 0x24], 1
cmp byte [esi + 0x4d], cl
sete cl
add ecx, 0xfffffffe
push ecx
lea ecx, [esp + 0x38]
call fcn.004e1686
push eax
push ebx
lea ecx, [esp + 0x3c]
call fcn.004e4fc6
mov edi, dword [esi + 0x10]
mov ebx, eax
push 0
push 0
push 0
movzx eax, word [ebx + 0x20]
mov ecx, edi
push 0
push 0x4040
push dword [ebx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], eax
call fcn.00454376
mov edx, eax
test byte [edx + 2], 1
je 0x53488d
mov ecx, dword [edi + 0x13c]
test ecx, ecx
je 0x53487e
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x53487e
or word [ecx + 2], 1
jmp 0x53488d
mov eax, dword [edi + 0x138]
test eax, eax
je 0x53488d
or word [eax + 2], 1
push 0
push dword [esp + 0x14]
lea eax, [ebx + 4]
mov ecx, edi
push eax
push dword [esp + 0x28]
push edx
call fcn.005112c6
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call 0x52da86
cmp byte [esi + 0x4f], 0
jne 0x5348c0
cmp byte [esi + 0x4e], 0
je 0x534b9f
mov ebx, dword [esi + 0x6c]
test ebx, ebx
je 0x534b9f
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
call fcn.004e3056
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004e3056
mov dword [esp + 0x10], eax
mov dword [eax + 0x20], edi
mov byte [eax + 0x24], 1
cmp byte [esi + 0x4e], 0
je 0x5348fc
mov ebx, 0x53
jmp 0x534907
xor ebx, ebx
cmp dword [esi + 0x48], ebx
setne bl
add ebx, 0x51
mov eax, dword [esi + 0x14]
mov edx, 0x42bea0
push 6
mov ecx, dword [eax + 0xc]
call fcn.00414e96
mov edx, dword [esi + 0x1c]
mov edi, eax
test ebx, ebx
js 0x53494f
cmp ebx, 0x6e
jae 0x53494f
mov ecx, dword [edx]
lea eax, [ebx*4 + 1]
add eax, ebx
push dword [ecx + 0x10]
lea eax, [edx + eax*4]
push eax
lea ecx, [esp + 0x24]
call fcn.00402cf6
cmp dword [esp + 0x1c], 1
jne 0x53494f
mov eax, dword [esp + 0x20]
jmp 0x534951
xor eax, eax
push 0
push 0
push edi
push dword [esi + 0x48]
mov ecx, esi
push eax
call fcn.0052db46
push eax
lea ecx, [esp + 0x38]
call fcn.004e3056
lea ecx, [esp + 0x5c]
push ecx
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.004e40e6
push eax
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
mov byte [eax + 0x38], 1
call fcn.004e4fc6
mov edi, dword [esi + 0x10]
mov ebx, eax
push 0
push 0
push 0
movzx eax, word [ebx + 0x20]
mov ecx, edi
push 0
push 0x4040
push dword [ebx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], eax
call fcn.00454376
mov edx, eax
test byte [edx + 2], 1
je 0x5349e8
mov ecx, dword [edi + 0x13c]
test ecx, ecx
je 0x5349d9
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x5349d9
or word [ecx + 2], 1
jmp 0x5349e8
mov eax, dword [edi + 0x138]
test eax, eax
je 0x5349e8
or word [eax + 2], 1
push 0
push dword [esp + 0x14]
lea eax, [ebx + 4]
mov ecx, edi
push eax
push dword [esp + 0x28]
push edx
call fcn.005112c6
mov edi, eax
mov ecx, esi
push edi
lea eax, [esp + 0x2c]
push eax
call 0x52da86
mov eax, dword [edi + 0x28]
mov edx, 0x404a0c
push 5
mov eax, dword [eax + 0x28]
mov edi, dword [eax + 0x1c]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xc]
call fcn.00414e96
mov ecx, dword [esp + 0x2c]
push 0
push ecx
push eax
push 0
push edi
mov ecx, esi
call fcn.0052db46
push dword [esp + 0x18]
mov edi, dword [esi + 0x6c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.004e3056
push edi
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.004e3056
push dword [esp + 0x10]
mov edi, eax
lea ecx, [esp + 0x38]
mov dword [edi + 0x20], ebx
mov byte [edi + 0x24], 1
call fcn.004e3056
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ebx
mov dword [esp + 0x14], eax
mov dword [eax + 0x20], edi
mov byte [eax + 0x24], 1
call fcn.004e3056
test eax, eax
jne 0x534ac6
lea ecx, [esp + 0x4c]
call dword [0x660330]
mov dword [esp + 0x78], 2
mov dword [esp + 0x4c], 0x40cc48
mov dword [esp + 0x58], 0x40cb40
mov dword [esp + 0x78], 0xffffffff
lea eax, [esp + 0x4c]
push 0x651bb0
push eax
call 0x5a4c9c
lea ecx, [esp + 0x38]
push ecx
push eax
push 0
lea ecx, [esp + 0x40]
call fcn.004e26c6
lea ecx, [esp + 0x5c]
push ecx
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x40]
call fcn.004e40e6
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
push 0x30
mov edx, 3
mov byte [eax + 0x38], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
mov edi, dword [eax + 0x28]
call 0x3bd1e6
mov ecx, dword [eax]
mov eax, dword [edi + 4]
and ecx, 0xfffffffc
sub eax, dword [edi]
mov dword [esp + 0x10], ecx
cmp eax, ecx
jae 0x534b27
push 0x30
mov ecx, edi
call 0x3bcf16
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
push 0x30
add eax, ecx
push 0
push ecx
mov dword [edi], eax
call 0x5a49f2
mov edi, eax
add esp, 0xc
mov eax, 0x1e
push 0
mov word [edi], ax
xor eax, eax
push 0
mov dword [edi + 4], 0xfeefed
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x24]
push 0
mov dword [edi + 8], 0xfeefed
mov dword [edi + 0xc], 0
push 0
mov dword [edi + 0x10], 0
mov eax, dword [eax + 0x1d8]
push 0
push dword [esp + 0x38]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x10]
call fcn.00454376
mov dword [edi + 0x28], eax
mov ecx, esi
push edi
lea eax, [esp + 0x2c]
push eax
call 0x52da86
jmp 0x534ba3
mov ebx, dword [esp + 0x18]
cmp byte [esi + 0x4f], 0
je 0x534cfc
cmp dword [esi + 0x6c], 0
je 0x534cfc
mov eax, dword [esi + 0x14]
mov edx, 0x420204
push 4
mov ecx, dword [eax + 0xc]
call fcn.00414e96
mov edx, dword [esi + 0x1c]
xor ecx, ecx
cmp dword [esi + 0x48], ecx
mov edi, eax
setne cl
add ecx, 0x51
js 0x534c08
cmp ecx, 0x6e
jae 0x534c08
mov eax, dword [edx]
push dword [eax + 0x10]
lea eax, [ecx*4 + 1]
add eax, ecx
lea ecx, [esp + 0x14]
lea eax, [edx + eax*4]
push eax
call fcn.00402cf6
cmp dword [esp + 0x10], 1
jne 0x534c08
mov eax, dword [esp + 0x14]
jmp 0x534c0a
xor eax, eax
push 0
push 0
push edi
push dword [esi + 0x48]
mov ecx, esi
push eax
call fcn.0052db46
mov edi, dword [esi + 0x6c]
lea ecx, [esp + 0x34]
push ebx
mov dword [esp + 0x14], eax
call fcn.004e3056
push edi
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.004e3056
push dword [esp + 0x10]
mov edi, eax
lea ecx, [esp + 0x38]
mov dword [edi + 0x20], ebx
mov byte [edi + 0x24], 1
call fcn.004e3056
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
push 0x30
mov edx, 3
mov dword [eax + 0x20], edi
mov byte [eax + 0x24], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov edi, dword [eax + 0x28]
call 0x3bd1e6
mov ebx, dword [eax]
mov eax, dword [edi + 4]
and ebx, 0xfffffffc
sub eax, dword [edi]
cmp eax, ebx
jae 0x534c89
push 0x30
mov ecx, edi
call 0x3bcf16
mov ecx, dword [edi]
push 0x30
push 0
push ecx
lea eax, [ecx + ebx]
mov dword [edi], eax
call 0x5a49f2
mov edi, eax
add esp, 0xc
mov eax, 0x1a
push 0
mov word [edi], ax
xor eax, eax
push 0
mov dword [edi + 4], 0xfeefed
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi + 8], 0xfeefed
mov dword [edi + 0xc], 0
push 0
mov dword [edi + 0x10], 0
mov eax, dword [eax + 0x1d8]
push 0
push dword [esp + 0x30]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x10]
call fcn.00454376
mov dword [edi + 0x28], eax
mov ecx, esi
push edi
lea eax, [esp + 0x2c]
push eax
call 0x52da86
cmp byte [esi + 0x4c], 0
jne 0x534d0c
cmp byte [esi + 0x4d], 0
je 0x534d8a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x534d8a
push eax
lea ecx, [esp + 0x38]
call fcn.004e3056
mov edi, dword [esi + 0x10]
push 0x30
mov dword [esp + 0x14], eax
lea ecx, [edi + 0x24]
call fcn.0053ac56
mov ebx, eax
mov eax, 0x1a
push 0
push 0
push 0
mov dword [ebx + 4], 0xfeefed
mov word [ebx], ax
xor eax, eax
mov dword [ebx + 8], 0xfeefed
mov dword [ebx + 0xc], 0
push 0
mov dword [ebx + 0x10], 0
mov word [ebx + 0x20], ax
mov eax, dword [edi + 0x1d8]
push 0
push dword [esp + 0x24]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x10]
call fcn.00454376
mov dword [ebx + 0x28], eax
mov ecx, esi
push ebx
lea eax, [esp + 0x2c]
push eax
call 0x52da86
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret