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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x1c]
shl esi, 6
lea esi, [esi + eax + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ecx
movzx ecx, byte [esi + 0x28]
push edi
lea edi, [ecx*8]
sub edi, ecx
lea eax, [eax + edi*8 + 8]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ebx, eax
shr ebx, 0x19
xor edx, edx
and ebx, 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ebx
test eax, 0x800000
je 0x4acbb3
test byte [esp + 0xb0], 0x40
mov dword [esp + 0x28], 1
je 0x4acbb7
mov dword [esp + 0x28], edx
mov eax, ebp
call fcn.00484590
mov dword [esp + 0x2c], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov eax, ebp
call fcn.00484590
cmp byte [esi + 0x28], 0
mov dword [esp + 0x5c], eax
mov dword [esi + 0x20], eax
jbe 0x4acc02
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x15], 8
je 0x4acc02
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
mov dword [esi + 0xc], eax
push 0
push 0x30
mov eax, ebp
call fcn.00484530
add esp, 0xc
mov eax, dword [esi]
test eax, 0x8000000
je 0x4acebd
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea eax, [edi + 2]
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], eax
call fcn.0047dac0
add esp, 4
cmp edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
jl 0x4acd29
jmp 0x4acc59
mov edi, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
jle 0x4acd10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
nop
cmp dword [edx + ebx*8], eax
je 0x4acc7f
inc ebx
cmp ebx, ecx
jl 0x4acc70
jmp 0x4acd10
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx + 1]
mov eax, dword [esp + 0x18]
lea edx, [ebx + ebx*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + ecx*8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x10]
push edi
push eax
push edx
mov dword [esp + 0x60], edi
call fcn.004aac80
add esp, 0xc
mov dword [esp + 0x44], eax
cmp eax, edi
je 0x4acd10
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4acd10
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x4accdd
call fcn.004843b0
test eax, eax
jne 0x4acd10
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 9
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x6e], cl
cmp ebx, dword [esp + 0x14]
je 0x4acd29
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jle 0x4acc55
mov eax, dword [esp + 0x38]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
jg 0x4acd47
mov edi, ebp
call fcn.004843b0
test eax, eax
jne 0x4acd76
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
jg 0x4acd89
mov edi, ebp
call fcn.004843b0
test eax, eax
jne 0x4acdba
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
inc ecx
dec edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edx
jg 0x4acdf0
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4acdf0
mov ebx, 1
jmp 0x4ace27
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov byte [eax], 0x67
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
push eax
push ebp
mov eax, ebx
call fcn.00484940
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [ecx + 0x1c], 0
test eax, eax
jle 0x4ace8a
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
add edi, 8
add ebx, 4
mov dword [esp + 0x18], eax
cmp byte [ebx], 0
je 0x4ace7d
mov eax, dword [edi]
mov esi, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
lea eax, [ecx + edx*8]
call fcn.0047f830
add ebx, 8
add edi, 0xc
sub dword [esp + 0x18], 1
jne 0x4ace60
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x29], 1
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 0x38]
mov ebx, eax
jle 0x4ad7d1
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x3c], ecx
jmp 0x4ad7d1
test eax, 0x1000
je 0x4acf65
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x15]
test al, al
jne 0x4acedf
inc dword [ecx + 0x48]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x58], edx
jmp 0x4aceef
dec al
mov byte [ecx + 0x15], al
movzx eax, al
mov ecx, dword [ecx + eax*4 + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x34]
push 0
push 3
push edx
push eax
push edi
push ecx
or ebx, 0xffffffff
call fcn.004a0dc0
mov edx, dword [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
mov ebx, esi
call fcn.004ac870
mov ebx, eax
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x48], eax
push ebx
push 0x26
mov eax, ebp
call fcn.00484530
mov ecx, dword [esp + 0x50]
push ebx
push ecx
push edi
push 0x2e
mov eax, ebp
call fcn.00484430
mov ecx, dword [esp + 0x50]
add esp, 0x40
push ebx
push 0xffffffffffffffff
push edi
call fcn.0047d6b0
add esp, 0xc
mov byte [esi + 0x29], 0x18
mov ebx, ecx
jmp 0x4ad7d1
test eax, 0x2000
je 0x4ad17c
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0x34]
push 0
push 0x24
push edx
push esi
push edi
push eax
or ebx, 0xffffffff
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x30], 0
call fcn.004a0dc0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x4c]
push 0
push 0x18
push ecx
push esi
push edi
push edx
or ebx, ebx
mov dword [esp + 0x54], eax
call fcn.004a0dc0
mov ecx, dword [esp + 0x78]
add esp, 0x30
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4acfdb
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x24], 0
je 0x4ad056
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0xc]
mov esi, ebx
mov byte [esp + 0x20], 0x7b
mov byte [esp + 0x21], 0x37
mov byte [esp + 0x22], 0x46
mov byte [esp + 0x23], 0x6d
call fcn.00485970
movzx ecx, byte [edi]
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x40]
push esi
push edx
movzx edx, byte [esp + ecx - 0x23]
push eax
push edx
mov eax, ebp
call fcn.00484430
push ebx
mov eax, 1
call fcn.0047d8e0
mov esi, dword [esp + 0x40]
add esp, 0x18
mov edx, ebx
call fcn.0047da90
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
call fcn.0047f830
mov eax, esi
jmp 0x4ad079
mov eax, dword [esp + 0x2c]
neg ecx
sbb ecx, ecx
push eax
and ecx, 0xffffffbc
add ecx, 0x7a
push edi
push ecx
mov eax, ebp
call fcn.00484530
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4ad0df
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0xc]
mov edi, ebx
mov dword [esp + 0x18], esi
call fcn.004859f0
mov edx, dword [esp + 0x28]
mov al, byte [edx]
cmp al, 0x4d
je 0x4ad0bf
cmp al, 0x4b
je 0x4ad0bf
xor eax, eax
cmp dword [esp + 0x48], eax
setne al
lea eax, [eax + eax + 0x4b]
mov dword [esp + 0x20], eax
jmp 0x4ad0d0
xor ecx, ecx
cmp dword [esp + 0x48], ecx
sete cl
lea ecx, [ecx + ecx + 0x4c]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
call fcn.0047f830
mov eax, esi
mov edx, dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
neg edx
sbb dl, dl
and dl, 0xc7
add dl, 0x6a
cmp dword [esp + 0x24], 0
mov byte [eax + 0x29], dl
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], esi
jne 0x4ad112
cmp dword [esp + 0x14], 0
jne 0x4ad112
mov ecx, 1
jmp 0x4ad114
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov byte [eax + 0x2a], cl
cmp edi, 0x18
je 0x4ad7d1
mov eax, ebx
call fcn.0047da70
mov esi, eax
push esi
push edx
push 0x28
mov eax, ebp
mov dword [esp + 0x64], esi
call fcn.00484530
mov eax, dword [esp + 0x48]
push esi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.0047d6b0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
push esi
push ecx
push edx
push edi
mov eax, ebp
call fcn.00484430
mov eax, dword [ebp + 0x14]
add esp, 0x28
test eax, eax
je 0x4ad7d1
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x6b
jmp 0x4ad7d1
test eax, 0x30000
je 0x4ad5c2
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x50]
mov edx, dword [edx + 8]
mov edx, dword [edx + ecx*4]
xor eax, eax
test byte [esp + 0xb0], 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x7a
mov dword [esp + 0x78], 0x36
mov dword [esp + 0x7c], 0x7b
mov dword [esp + 0x80], 0x46
mov dword [esp + 0x84], 0x6d
mov dword [esp + 0x88], 0x37
mov dword [esp + 0x60], 0x18
mov dword [esp + 0x64], 0x3f
mov dword [esp + 0x68], 0x29
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], edx
je 0x4ad235
test dword [esi], 0x1000000
je 0x4ad235
mov edx, dword [esp + 0x50]
cmp dword [edx + 4], ecx
jle 0x4ad235
mov eax, 1
mov dword [esp + 0x54], eax
test dword [esi], 0x100000
je 0x4ad273
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x38]
push 0x18
push ecx
push edx
push edi
push eax
call fcn.004a0dc0
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
add esp, 0x18
mov eax, 1
test dword [esi], 0x200000
je 0x4ad2b1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push 0x24
push edx
push eax
push edi
push ecx
call fcn.004a0dc0
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
add esp, 0x18
mov eax, 1
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push esi
push edx
call fcn.004ac9d0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x28]
xor edx, edx
add esp, 0x18
cmp byte [edi + ecx], dl
mov dword [esp + 0x38], eax
sete dl
cmp ebx, edx
jne 0x4ad309
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ecx
jmp 0x4ad311
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
xor ebx, ebx
cmp ecx, ebx
je 0x4ad321
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x40], ebx
je 0x4ad329
mov dword [esp + 0x40], 1
cmp edx, ebx
je 0x4ad337
test byte [edx + 0x10], 0x28
mov dword [esp + 0x44], ebx
je 0x4ad33f
mov dword [esp + 0x44], 1
cmp ecx, ebx
jne 0x4ad34b
cmp edi, ebx
mov dword [esp + 0x18], ebx
jle 0x4ad353
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
cmp ecx, ebx
je 0x4ad393
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov ebx, edi
mov edi, dword [esp + 0x10]
lea esi, [eax + ebx]
mov eax, dword [edx + 0xc]
call fcn.004859f0
mov eax, dword [esp + 0x20]
push eax
push esi
push 0x47
mov eax, ebp
call fcn.00484530
mov esi, dword [esp + 0x3c]
add esp, 0xc
inc ebx
mov dword [esp + 0x1c], ebx
jmp 0x4ad3ba
cmp dword [esp + 0x54], ebx
je 0x4ad3ba
add eax, edi
push eax
push ebx
push 0x77
mov eax, ebp
call fcn.00484530
add esp, 0xc
inc edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push ecx
push edx
call fcn.004878b0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x5c]
lea ecx, [eax + edx*2]
mov edx, dword [esp + ecx*4 + 0x80]
push edx
mov eax, ebp
call fcn.00484430
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
add esp, 0x18
test ecx, ecx
je 0x4ad43b
cmp byte [edi + 0x1e], 0
jne 0x4ad43b
test eax, eax
jge 0x4ad41c
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.00484870
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], 0xf2
jmp 0x4ad449
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff2
call fcn.00484870
cmp dword [esp + 0x4c], 0
mov edi, dword [esp + 0x24]
je 0x4ad4a3
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov eax, edi
lea esi, [edx + eax]
push esi
mov edx, ebx
call fcn.0047d7f0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, ebx
call fcn.004859f0
mov eax, dword [esp + 0x24]
push eax
push esi
push 0x47
mov eax, ebp
call fcn.00484530
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
push ecx
inc edi
push edx
call fcn.004878b0
mov esi, dword [esp + 0x48]
add esp, 0x18
cmp dword [esp + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
jne 0x4ad4bb
cmp dword [esp + 0x24], 0
jne 0x4ad4bb
xor eax, eax
jmp 0x4ad4c0
mov eax, 1
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
imul ecx, eax
mov eax, dword [esp + ecx*4 + 0x60]
cmp eax, 0x18
je 0x4ad505
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push 0xfffffffffffffff2
push edi
push eax
mov eax, dword [esp + 0x44]
mov edi, ebp
call fcn.0048a810
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x4ad505
cmp dword [esp + 0x44], ebx
mov ecx, dword [ebp + 0xc]
setne dl
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], dl
mov eax, dword [esp + 0x10]
call fcn.0047da70
test dword [esi], 0x300000
mov edi, eax
je 0x4ad53e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edi
push edx
push eax
push 3
mov eax, ebp
call fcn.00484430
mov ecx, dword [esp + 0x6c]
push ecx
push edi
push 0x47
mov eax, ebp
call fcn.00484530
add esp, 0x1c
mov ebx, dword [esp + 0x10]
mov esi, edi
mov edx, ebx
call fcn.0047da90
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
call fcn.0047f830
mov eax, dword [esp + 0x4c]
call fcn.0047f830
cmp dword [esp + 0x28], 0
jne 0x4ad5a5
mov eax, ebx
call fcn.0047da70
mov edx, dword [esp + 0x2c]
mov edi, eax
push edi
push edx
push 0x39
mov eax, ebp
mov dword [esp + 0x64], edi
call fcn.00484530
mov eax, dword [esp + 0x48]
push edi
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.0047d6b0
mov ecx, dword [esp + 0x54]
push edi
push ecx
push 5
mov eax, ebp
call fcn.00484530
add esp, 0x24
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
neg edx
sbb dl, dl
and dl, 0xc7
add dl, 0x6a
mov byte [esi + 0x29], dl
mov dword [esi + 0x2c], eax
jmp 0x4ad7d1
test eax, 0x10000000
je 0x4ad7a1
mov ebx, dword [esp + 0x10]
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], eax
mov eax, ebp
mov dword [esp + 0x1c], ecx
call fcn.00484590
mov edx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
mov ecx, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb0]
mov edx, ecx
mov word [esp + 0x6c], cx
mov ecx, 0xe
lea edi, [esp + 0x74]
and eax, 8
mov word [esp + 0x6e], dx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], eax
jne 0x4ad653
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
lea eax, [ecx + 1]
push ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x2c], eax
push 0
push 0x77
mov eax, ebp
mov dword [esp + 0x50], ecx
call fcn.00484530
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
xor esi, esi
push esi
push 0x30
mov eax, ebp
call fcn.00484530
mov edi, dword [esp + 0x60]
add esp, 0xc
cmp dword [edi + 0x14], esi
mov ecx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], esi
jle 0x4ad747
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x1c]
add eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x3c]
je 0x4ad6a1
mov edx, 0x200
cmp word [eax + 0x10], dx
jne 0x4ad72c
mov eax, dword [eax]
push 0x70
push 0
push eax
lea ecx, [esp + 0x78]
push ecx
push ebx
call fcn.004ad9a0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4ad72c
cmp word [esp + 0x20], 0
jne 0x4ad710
mov edx, dword [edi + 0x14]
dec edx
cmp dword [esp + 0x2c], edx
jne 0x4ad6d3
or edi, 0xffffffff
jmp 0x4ad6d7
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0xffffffffffffffff
push eax
push ebx
xor eax, eax
call fcn.004a72e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
push 0xfffffffffffffff2
push edi
add ecx, 2
push 0x71
mov edi, ebp
call fcn.0048a810
mov edi, dword [esp + 0x74]
add esp, 0x20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 0x2f
mov eax, ebp
call fcn.00484530
push esi
call fcn.004879c0
add esp, 0x10
mov eax, dword [esp + 0x2c]
add dword [esp + 0x40], 0x28
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
jl 0x4ad682
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x4ad758
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0x60
mov eax, ebp
call fcn.00484530
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x4ad787
mov edx, dword [esp + 0x14]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x24]
mov byte [esi + 0x29], 0x19
call fcn.0047f830
jmp 0x4ad7d1
mov cl, byte [ebx + 0x54b440]
mov edx, dword [esp + 0x2c]
mov byte [esi + 0x29], cl
mov dword [esi + 0x2c], edi
movzx eax, byte [ebx + 0x54b444]
push edx
push edi
push eax
mov eax, ebp
call fcn.00484530
mov ebx, dword [esp + 0x1c]
add esp, 0xc
inc eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x2a], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x4ad7f7
add edx, 4
mov esi, dword [esp + 0x3c]
cmp dword [edx], esi
je 0x4ad966
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4ad7e3
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0xb4], eax
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
not edx
and dword [esp + 0xb8], edx
test edi, edi
jle 0x4ad86d
jmp 0x4ad820
test byte [esi + 0x12], 6
jne 0x4ad865
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb4]
and ecx, dword [esp + 0xb8]
or eax, ecx
jne 0x4ad865
mov edx, dword [esp + 0x30]
cmp dword [edx + 0xc], 0
mov eax, dword [esi]
je 0x4ad850
test byte [eax + 2], 1
je 0x4ad865
mov ecx, dword [esp + 0x5c]
push 8
push ecx
push eax
push ebx
call fcn.0049cc00
add esp, 0x10
or byte [esi + 0x12], 4
dec edi
add esi, 0x28
test edi, edi
jg 0x4ad820
mov edx, dword [esp + 0x30]
cmp dword [edx + 0xc], 0
je 0x4ad920
mov ecx, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x24], ecx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x28], edx
jg 0x4ad89d
mov edi, ebp
call fcn.004843b0
test eax, eax
jne 0x4ad8cd
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ebp, dword [esp + 0x34]
mov edx, ebx
call fcn.0047d890
mov esi, dword [ebp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x14], edi
jle 0x4ad920
test byte [esi + 0x12], 6
jne 0x4ad917
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0xb4]
and ecx, dword [esp + 0xb8]
or eax, ecx
jne 0x4ad917
mov edx, dword [esp + 0x5c]
mov eax, dword [esi]
push 8
push edx
push eax
push ebx
call fcn.0049cc00
add esp, 0x10
or byte [esi + 0x12], 4
inc edi
add esi, 0x28
cmp edi, dword [ebp + 0x14]
jl 0x4ad8e2
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4ad94d
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4ad94d
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x4ad977
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4ad935
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x18], esi
inc byte [ebx + 0x15]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov eax, 1
xor edx, edx
call fcn.00507470
jmp 0x4ad7fb
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x9c
ret