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

Disassembly:
sub esp, 0x60
mov edx, dword [esp + 0x64]
push ebx
push ebp
push esi
mov ebp, dword [edx]
lea eax, [edx + 0x140]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp]
push edi
mov dword [esp + 0x18], ecx
lea ecx, [eax*8]
sub ecx, eax
xor eax, eax
mov al, byte [edx + ecx*8 + 0x2b8]
mov edi, dword [ebp + 8]
lea ebx, [edx + ecx*8 + 0x298]
mov ecx, dword [edx + 4]
lea eax, [eax + eax*8]
mov dword [esp + 0x48], 0
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x1c], edi
lea eax, [ecx + eax*8 + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
call fcn.004b0c40
and eax, 1
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x24]
test al, 0x40
je 0x4a2a45
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], 1
test byte [ecx + 0x22], 0x20
je 0x4a2a4d
mov dword [esp + 0x5c], 0
push edi
call fcn.00487bf0
push edi
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
call fcn.00487bf0
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x14], eax
mov al, byte [ebx + 0x20]
add esp, 8
test al, al
jbe 0x4a2a97
mov edx, dword [esp + 0x3c]
test byte [edx + 0x20], 8
je 0x4a2a97
mov edx, dword [ebp + 0x4c]
inc edx
mov eax, edx
mov dword [ebp + 0x4c], edx
push eax
push 0
push 0x15
push edi
mov dword [ebx], eax
call fcn.004870f0
add esp, 0x10
mov eax, dword [esp + 0x3c]
test byte [eax + 0x24], 4
je 0x4a2ad9
mov ecx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
dec ecx
push esi
push ecx
push 0x15
push edi
call fcn.004870f0
push esi
push 0x11
push edi
call fcn.00487bd0
mov edx, dword [esp + 0x50]
inc esi
push edx
push esi
push 0x27
push edi
mov dword [ebx + 0x28], eax
call fcn.004870f0
add esp, 0x2c
mov byte [ebx + 0x21], 0xe
jmp 0x4a380c
mov edx, dword [esi + 0x24]
test dh, 4
mov dword [esp + 0x6c], edx
je 0x4a2c71
xor eax, eax
push ebp
mov ax, word [esi + 0x28]
mov dword [esp + 0x30], eax
call fcn.00489de0
mov eax, dword [esp + 0x30]
add eax, 2
push eax
push ebp
mov dword [esp + 0x78], eax
call fcn.0048a770
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], 0
jle 0x4a2b99
mov edx, dword [esp + 0x34]
add edx, 2
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x78]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4a2b7f
test byte [eax + 0x10], 1
je 0x4a2b6b
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x7c]
push ecx
push edx
push ebx
push eax
push ebp
call fcn.004a3c60
mov eax, dword [ebx + 0x10]
add esp, 0x18
mov dword [esp + 0x50], eax
jmp 0x4a2b7f
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
push ecx
mov eax, dword [edx + 0xc]
push eax
push ebp
call fcn.00487ea0
add esp, 0xc
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], edx
jl 0x4a2b34
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x18]
push ecx
push edx
push 0x15
push edi
call fcn.004870f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
inc eax
push eax
push ecx
push 0x15
push edi
call fcn.004870f0
mov dl, byte [esi + 0x1c]
mov eax, dword [esi + 0x20]
neg dl
mov ecx, dword [esp + 0x54]
sbb edx, edx
and edx, 0xfffffff7
add edx, 0xfffffffe
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push 0xc
push edi
call fcn.00486710
mov eax, dword [esp + 0x68]
add esp, 0x3c
test eax, eax
mov byte [esi + 0x1c], 0
mov dword [esp + 0x78], 0
jle 0x4a2c3d
mov eax, dword [esp + 0x78]
cmp eax, 0x10
jge 0x4a2c3d
mov dx, word [esi + 0x1e]
mov cx, ax
shr dx, cl
test dl, 1
je 0x4a2c30
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x78]
mov edx, dword [eax + ecx*4]
push edx
push ebx
call fcn.004a3b90
mov eax, dword [esp + 0x80]
add esp, 8
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x4a2c01
mov eax, dword [esp + 0x10]
push edi
mov byte [ebx + 0x21], 0x8b
mov dword [ebx + 0x24], eax
call fcn.00487c60
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
push ecx
push edx
push ebp
mov dword [ebx + 0x28], eax
call fcn.0048a7a0
push 1
push ebp
call fcn.00489df0
add esp, 0x18
jmp 0x4a380c
mov ecx, edx
and ecx, 0x100
je 0x4a2ceb
test dl, 5
je 0x4a2ceb
push ebp
call fcn.00487130
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x18]
push eax
push edx
mov ecx, dword [ecx]
push 0
push ebx
push ecx
push ebp
mov dword [esp + 0x64], eax
call fcn.004a3c60
mov esi, eax
mov eax, dword [ebx + 0x10]
push eax
push esi
push 0x21
push edi
mov dword [esp + 0x5c], eax
call fcn.004870f0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
push esi
push eax
push ecx
push 0x3f
push edi
call fcn.00486750
add esp, 0x40
push 1
push esi
push ebp
call fcn.0048a010
mov edx, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push edx
push ebp
call fcn.00489ee0
add esp, 0x1c
mov byte [ebx + 0x21], 0x95
jmp 0x4a380c
xor eax, eax
cmp ecx, eax
je 0x4a2ed6
test dl, 2
je 0x4a2ed6
xor ecx, ecx
mov dword [esp + 0x60], 0x95
test dl, 0x20
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], ecx
je 0x4a2d27
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov eax, 1
mov dword [esp + 0x38], ecx
test dl, 0x10
je 0x4a2d36
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a2d4c
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x4a2dc7
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x40], 0x3a
mov esi, dword [ecx]
mov byte [esp + 0x41], 0x38
mov byte [esp + 0x42], 0x37
mov byte [esp + 0x43], 0x39
mov eax, dword [esi + 0xc]
push eax
push ebp
call fcn.0048a030
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
push eax
xor eax, eax
push ecx
mov al, byte [esi]
xor ecx, ecx
push edx
mov cl, byte [esp + eax + 7]
push ecx
push edi
call fcn.00486750
mov edx, dword [esp + 0x8c]
push 1
push edx
push ebp
call fcn.0048a010
mov eax, dword [esp + 0x90]
push eax
push ebp
call fcn.00487160
mov ecx, dword [esp + 0x6c]
push ecx
push ebx
call fcn.004a3b90
add esp, 0x3c
jmp 0x4a2de9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
push edx
neg ecx
sbb ecx, ecx
push eax
and ecx, 0xfffffffd
add ecx, 0x65
push ecx
push edi
call fcn.004870f0
add esp, 0x10
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a2e52
mov esi, dword [eax]
mov eax, dword [ebp + 0x4c]
inc eax
mov dword [ebp + 0x4c], eax
mov edx, dword [esi + 0xc]
push eax
push edx
push ebp
mov dword [esp + 0x5c], eax
call fcn.00487ea0
mov al, byte [esi]
add esp, 0xc
cmp al, 0x4f
je 0x4a2e34
cmp al, 0x4d
je 0x4a2e34
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
neg esi
sbb esi, esi
push eax
and esi, 2
push ebx
add esi, 0x4d
call fcn.004a3b90
add esp, 8
jmp 0x4a2e56
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
neg esi
sbb esi, esi
push eax
and esi, 0xfffffffe
push ebx
add esi, 0x50
call fcn.004a3b90
add esp, 8
jmp 0x4a2e56
mov esi, dword [esp + 0x60]
push edi
call fcn.00487c60
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x24], edx
test edi, edi
sete cl
add ecx, 6
cmp esi, 0x95
mov byte [ebx + 0x21], cl
mov dword [ebx + 0x28], eax
je 0x4a380c
push ebp
call fcn.00487130
mov ecx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x14]
push edi
push eax
push 0x60
push ecx
mov dword [esp + 0x5c], edi
call fcn.004870f0
mov edx, dword [esp + 0x24]
push edi
push 0xffffffffffffffff
push edx
push ebp
call fcn.00489ee0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
push edi
push eax
push ecx
push esi
mov esi, dword [esp + 0x50]
push esi
call fcn.00486750
push 0x6b
push esi
call fcn.00487620
add esp, 0x40
jmp 0x4a380c
test dh, 2
je 0x4a3372
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
test byte [edx + 0x22], 1
je 0x4a2f2c
cmp byte [edx + 0x24], al
je 0x4a2f2c
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [edx + 0x2c]
cmp ecx, esi
jle 0x4a2f28
mov eax, 1
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x38]
mov dl, byte [esp + 0x6c]
mov dword [esp + 0x78], esi
test dl, 0x20
je 0x4a2f4f
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x34], eax
lea eax, [esi + 1]
mov dword [esp + 0x78], eax
mov eax, 1
test dl, 0x10
je 0x4a2f67
mov ecx, dword [ecx + 0x2c]
mov edx, dword [esp + 0x78]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x20], eax
mov eax, 1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push eax
push edx
push ebx
push ebp
call fcn.004a3e00
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.0046b810
mov ecx, dword [esp + 0x48]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x44], eax
xor eax, eax
mov ax, word [ecx + 0x2c]
add esp, 0x1c
cmp esi, eax
mov dword [esp + 0x30], edx
jge 0x4a2fc0
mov edx, ecx
mov ecx, dword [edx + 0x1c]
xor edx, edx
cmp byte [ecx + esi], dl
mov ecx, dword [esp + 0x14]
sete dl
cmp ecx, edx
je 0x4a2fcc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a2fde
cmp eax, esi
jne 0x4a2fde
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
jmp 0x4a2fe6
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a2fff
test byte [eax + 0x10], 0x28
jne 0x4a2fff
mov dword [esp + 0x4c], 0
mov edx, 1
jmp 0x4a3008
mov edx, 1
mov dword [esp + 0x4c], edx
test ecx, ecx
je 0x4a301a
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x58], 0
je 0x4a301e
mov dword [esp + 0x58], edx
test eax, eax
jne 0x4a302a
test esi, esi
mov dword [esp + 0x50], eax
jle 0x4a302e
mov dword [esp + 0x50], edx
test eax, eax
mov dword [esp + 0x2c], esi
je 0x4a30c2
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
lea ecx, [edx + esi]
push ecx
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.00487ea0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x38]
push eax
lea eax, [ecx + esi]
push eax
push edx
push edi
call fcn.004a3a40
mov eax, dword [esp + 0x40]
add esp, 0x1c
test eax, eax
je 0x4a30b9
mov al, byte [eax + esi]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00488d00
add esp, 8
cmp al, 0x62
jne 0x4a3098
mov edx, dword [esp + 0x24]
mov byte [edx + esi], al
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov cl, byte [eax + esi]
push ecx
push edx
call fcn.004a3ab0
add esp, 8
test eax, eax
je 0x4a30b9
mov eax, dword [esp + 0x24]
mov byte [eax + esi], 0x62
lea ecx, [esi + 1]
mov dword [esp + 0x2c], ecx
jmp 0x4a30f5
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4a30f5
mov edx, dword [esp + 0x78]
add edx, esi
push edx
push 0
push 0x18
push edi
call fcn.004870f0
lea eax, [esi + 1]
add esp, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
push ebp
call fcn.004a3bf0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x6c]
push ecx
lea ecx, [edx + eax*2]
mov eax, dword [esp + 0x34]
xor edx, edx
mov dl, byte [eax + ecx*2 + 0x4be3ac]
push edx
push edi
call fcn.004897b0
mov eax, dword [esp + 0x48]
add esp, 0x28
test eax, eax
mov dword [esp + 0x2c], esi
je 0x4a3207
mov ecx, eax
push 1
mov edx, dword [ecx]
mov ecx, dword [esp + 0x7c]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x30], eax
lea eax, [ecx + esi]
push eax
push ebp
call fcn.00489d50
mov edx, dword [esp + 0x84]
lea eax, [edx + esi]
push eax
mov eax, dword [esp + 0x3c]
push eax
push ebp
call fcn.00487ea0
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x48]
push ecx
lea eax, [edx + esi]
push eax
mov eax, dword [esp + 0x4c]
push eax
push edi
call fcn.004a3a40
mov eax, dword [esp + 0x50]
add esp, 0x28
test eax, eax
je 0x4a31e9
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dl, byte [ecx + esi]
push edx
push eax
call fcn.00488d00
add esp, 8
cmp al, 0x62
jne 0x4a31c8
mov ecx, dword [esp + 0x28]
mov byte [ecx + esi], al
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov al, byte [edx + esi]
push eax
push ecx
call fcn.004a3ab0
add esp, 8
test eax, eax
je 0x4a31e9
mov edx, dword [esp + 0x28]
mov byte [edx + esi], 0x62
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
lea eax, [esi + 1]
push ecx
push eax
push edx
push ebp
call fcn.004a3bf0
lea eax, [esi + 1]
add esp, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004591b0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004591b0
push edi
call fcn.00487c60
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
jne 0x4a3241
test esi, esi
jne 0x4a3241
xor eax, eax
jmp 0x4a3246
mov eax, 1
mov ecx, dword [esp + 0x14]
inc ecx
imul ecx, eax
xor eax, eax
mov al, byte [ecx + 0x4be3b4]
cmp eax, 0x95
je 0x4a328f
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push ecx
push eax
push edi
call fcn.004897b0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
cmp eax, edx
setne al
push eax
push edi
call fcn.00487620
add esp, 0x20
push ebp
call fcn.00487130
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
add esp, 4
test byte [ecx + 0x24], 0x30
je 0x4a32d1
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x3c]
push edx
push esi
push eax
push 0x29
push edi
call fcn.00486750
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x8c]
push ecx
push edx
push 0x49
push edi
call fcn.004870f0
add esp, 0x24
mov eax, dword [esp + 0x78]
push eax
push ebp
call fcn.00487160
mov ecx, dword [esp + 0x3c]
push ecx
push ebx
call fcn.004a3b90
mov edx, dword [esp + 0x30]
push edx
push ebx
call fcn.004a3b90
mov eax, dword [esp + 0x74]
add esp, 0x18
test eax, eax
jne 0x4a3336
push ebp
call fcn.00487130
mov esi, eax
mov eax, dword [esp + 0x40]
push esi
push eax
push 0x69
push edi
mov dword [esp + 0x5c], esi
call fcn.004870f0
mov ecx, dword [esp + 0x24]
push esi
push 0xffffffffffffffff
push ecx
push ebp
call fcn.00489ee0
mov edx, dword [esp + 0x34]
push esi
push edx
push 0x3b
push edi
call fcn.004870f0
add esp, 0x34
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x24]
test ch, 0x10
je 0x4a3348
mov byte [ebx + 0x21], 0x95
jmp 0x4a335a
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a3356
mov byte [ebx + 0x21], 6
jmp 0x4a335a
mov byte [ebx + 0x21], 7
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x24], ecx
mov cl, byte [eax + 0x24]
test cl, 0xf
jne 0x4a380c
jmp 0x4a3808
test dh, 0x20
je 0x4a37d8
mov eax, dword [ebp + 0x48]
mov edx, dword [ebp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x60], eax
inc eax
inc edx
push edi
mov dword [esp + 0x28], ecx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
call fcn.00487bf0
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x24]
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x74]
mov byte [ebx + 0x21], 0x10
mov dword [ebx + 0x24], edx
mov al, byte [eax + 0x28]
mov dword [esp + 0x28], ecx
cmp al, 1
jbe 0x4a34a1
mov edx, dword [esp + 0x78]
and eax, 0xff
sub eax, edx
dec eax
mov dword [esp + 0x50], eax
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x18]
lea edx, [ecx*8 + 0x50]
push edx
push eax
call fcn.00459430
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4a3423
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov cl, byte [esp + 0x50]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
inc cl
mov byte [eax + 1], cl
mov byte [eax], cl
lea edi, [eax + 8]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x50]
add edx, 8
cmp ecx, 1
jl 0x4a34ac
add eax, 0x50
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], eax
lea eax, [ebx + 0x58]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
xor eax, eax
mov edi, dword [esp + 0x30]
mov al, byte [ecx]
mov ecx, 0x12
lea eax, [eax + eax*8]
lea esi, [edx + eax*8]
mov eax, dword [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
add esi, 0x38
add ecx, 0x48
dec eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
jne 0x4a3465
jmp 0x4a34ac
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x74]
test byte [eax + 0x22], 8
jne 0x4a34da
mov eax, dword [ebp + 0x4c]
inc eax
push eax
push 0
lea ecx, [eax + 1]
push 0x18
mov dword [ebp + 0x4c], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
push ecx
call fcn.004870f0
add esp, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
xor esi, esi
push edx
push esi
push 0x15
push eax
call fcn.004870f0
mov edi, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
add esp, 0x10
mov eax, dword [edi + 0xc]
cmp eax, 1
jle 0x4a359e
cmp eax, esi
mov dword [esp + 0x5c], esi
jle 0x4a359e
mov dword [esp + 0x50], esi
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x50]
mov esi, dword [edx + ecx]
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x34]
je 0x4a3565
mov cl, byte [esi + 2]
and cl, 1
cmp cl, 1
je 0x4a3565
test byte [eax + 0x12], 0x10
jne 0x4a3565
test word [eax + 0x10], 0xfff
je 0x4a3565
mov edx, dword [esp + 0x18]
push 0
push esi
push edx
call fcn.0048c000
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.00485e80
add esp, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov ecx, dword [edi + 0xc]
inc eax
add edx, 0x28
cmp eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], edx
jl 0x4a3515
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a359e
mov edx, eax
push 0
push edx
push 0
push 0x45
push ebp
call fcn.00485da0
add esp, 0x14
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
xor eax, eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
cmp edx, eax
jle 0x4a37cf
mov edi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
jmp 0x4a35c5
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + 0x14]
mov edx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x4a35eb
test byte [eax + 0x11], 2
je 0x4a3711
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
test esi, esi
je 0x4a3601
mov dl, byte [eax + 2]
and dl, 1
cmp dl, 1
je 0x4a3601
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0x60]
push ecx
push 0xf0
push 0
push 0
push eax
push edi
push ebp
call fcn.0049ffc0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4a3711
mov eax, dword [esp + 0x78]
xor edx, edx
mov dl, byte [ebx + 0x20]
push 0
push edx
lea ecx, [esi + 0x298]
push eax
push ecx
push edi
push ebp
call fcn.004a2600
mov edx, dword [esp + 0x8c]
add esp, 0x18
test byte [edx + 0x22], 8
jne 0x4a36ae
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
dec ecx
cmp eax, ecx
jne 0x4a3664
or edi, 0xffffffff
jmp 0x4a3668
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push 0
push edx
mov edx, dword [ecx + 0x10]
push eax
push 0xffffffffffffffff
push edx
push ebp
call fcn.00489e40
add esp, 0x18
push edi
mov edi, dword [esp + 0x20]
push eax
push edi
call fcn.00487c60
add esp, 4
add eax, 2
push eax
mov eax, dword [esp + 0x60]
push eax
push 0x78
push edi
call fcn.004897b0
mov edi, dword [esp + 0x50]
add esp, 0x18
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0xf
push eax
call fcn.004870f0
mov al, byte [esi + 0x26]
add esp, 0x10
test al, al
je 0x4a36d6
mov dword [esp + 0x6c], 1
mov eax, dword [esi + 0x2cc]
mov ecx, dword [eax + 0x24]
test ch, 2
je 0x4a3700
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4a36f7
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x1c]
cmp edx, ecx
jne 0x4a3700
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x24], edx
jmp 0x4a3708
mov dword [esp + 0x24], 0
push esi
call fcn.004a6830
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
inc eax
mov edx, dword [ecx + 0xc]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
jl 0x4a35c1
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [ebx + 0x2c], eax
je 0x4a374e
mov edx, dword [esp + 0x60]
mov dword [ebx + 8], edx
test esi, esi
je 0x4a3767
mov eax, dword [esp + 0x18]
push esi
push eax
mov dword [esi + 8], 0
call fcn.0047d560
add esp, 8
push edi
call fcn.00487c60
mov ecx, dword [esp + 0x50]
push eax
push ecx
push edi
call fcn.0047a420
mov edx, dword [ebx + 0xc]
push edx
push 0
push 0xe
push edi
call fcn.004870f0
mov eax, dword [esp + 0x84]
push eax
push edi
call fcn.00487c40
mov ecx, dword [esp + 0x9c]
add esp, 0x28
cmp byte [ecx + 0x28], 1
jbe 0x4a37b7
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.004591b0
add esp, 8
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4a380c
mov ecx, dword [esp + 0x34]
push ecx
push ebx
call fcn.004a3b90
add esp, 8
jmp 0x4a380c
mov edi, dword [esp + 0x1c]
jmp 0x4a373c
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dl, byte [ecx + 0x4be3b8]
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x21], dl
mov edx, dword [esp + 0x34]
push edx
push eax
xor eax, eax
mov al, byte [ecx + 0x4be3bc]
push eax
push edi
call fcn.004870f0
add esp, 0x10
inc eax
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x22], 1
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
add edx, 0x3c
push ecx
push edx
call fcn.004a0a90
mov esi, dword [esp + 0x88]
mov edi, eax
mov eax, dword [esp + 0x84]
add esp, 8
not edi
and edi, eax
mov eax, dword [esp + 0x40]
not edx
and edx, esi
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], edi
test eax, eax
mov dword [esp + 0x68], edx
jle 0x4a38af
mov dword [esp + 0x78], eax
test byte [esi + 0x12], 6
jne 0x4a38a1
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x68]
and eax, edi
and ecx, edx
or eax, ecx
je 0x4a3875
mov eax, dword [esp + 0x74]
mov byte [eax + 0x26], 1
jmp 0x4a38a1
mov ecx, dword [ebx]
mov eax, dword [esi]
test ecx, ecx
je 0x4a3888
mov cl, byte [eax + 2]
and cl, 1
cmp cl, 1
jne 0x4a38a1
mov edx, dword [esp + 0x44]
push 8
push edx
push eax
push ebp
call fcn.0048a0f0
mov al, byte [esi + 0x12]
add esp, 0x10
or al, 4
mov byte [esi + 0x12], al
mov eax, dword [esp + 0x78]
add esi, 0x28
dec eax
mov dword [esp + 0x78], eax
jne 0x4a3853
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x34], edi
jle 0x4a3999
mov dword [esp + 0x78], eax
test byte [edi + 0x12], 6
jne 0x4a3983
cmp word [edi + 0x10], 0x402
jne 0x4a3983
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x4a3983
cmp dword [ebx], 0
jne 0x4a3983
mov ecx, dword [edi]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push 0
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xc]
push 3
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call fcn.004a1d60
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4a3983
test byte [esi + 0x12], 4
jne 0x4a3983
mov ecx, dword [esp + 0x18]
push 0x2c
push ecx
call fcn.00459430
add esp, 8
mov dword [esp + 0x74], eax
test eax, eax
je 0x4a3983
mov esi, dword [esi]
mov edx, dword [esp + 0x6c]
mov ecx, 0xb
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x44]
push 8
push edx
push eax
push ebp
mov dword [eax + 8], ecx
call fcn.0048a0f0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.004591b0
mov edi, dword [esp + 0x4c]
add esp, 0x18
mov eax, dword [esp + 0x78]
add edi, 0x28
dec eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x78], eax
jne 0x4a38c9
cmp dword [ebx], 0
je 0x4a3a13
mov esi, dword [esp + 0x1c]
push esi
call fcn.00487c60
mov edx, dword [ebx]
mov dword [ebx + 0x18], eax
push edx
push 1
push 0x15
push esi
call fcn.004870f0
push ebp
call fcn.00497670
mov ebx, dword [esp + 0x58]
add esp, 0x18
xor edi, edi
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jle 0x4a3a13
test byte [esi + 0x12], 6
jne 0x4a3a08
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
jne 0x4a3a08
mov eax, dword [esp + 0x44]
mov ecx, dword [esi]
push 8
push eax
push ecx
push ebp
call fcn.0048a0f0
mov al, byte [esi + 0x12]
add esp, 0x10
or al, 4
mov byte [esi + 0x12], al
mov eax, dword [ebx + 0xc]
inc edi
add esi, 0x28
cmp edi, eax
jl 0x4a39d1
mov edx, dword [esp + 0x48]
push edx
push ebp
call fcn.00487160
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret