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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
cmp esi, eax
je 0x10042b5e
mov edi, dword [ebp + 0xc]
cmp edi, eax
mov eax, 0x62
je 0x10041fe7
movzx eax, byte [edi]
mov dword [esp + 0x14], eax
add eax, 0xffffffed
cmp eax, 0x87
ja case.default.0x10042000
movzx edx, byte [eax + 0x10042c48]
jmp dword [edx*4 + 0x10042be4]
mov eax, dword [edi + 0x2c]
cmp byte [eax], 0
mov ecx, dword [edi + 0x30]
mov edx, dword [eax + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x10042029
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je case.0x10042000.151
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push 3
mov eax, esi
call fcn.100329b0
mov eax, dword [esp + 0x28]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x24]
test eax, eax
jns 0x1004206c
mov ebx, dword [ebx + 0x50]
add ebx, dword [edi + 0x28]
mov dword [esp + 0x18], ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, word [edi + 2]
mov edx, dword [ebp + 0x10]
and ecx, 0x200
push ecx
mov ecx, dword [edi + 0x38]
push edx
push eax
mov eax, dword [edi + 0x28]
push eax
push ecx
push ebx
call fcn.10041a60
add esp, 0x18
mov dword [esp + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push edx
xor ecx, ecx
mov eax, edi
mov edx, esi
call fcn.10041520
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 4]
test edi, edi
je case.default.0x10042000
mov eax, dword [ebp + 0x10]
push eax
push 0
push edi
mov eax, esi
call fcn.100413d0
mov eax, dword [esp + 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, dword [ebp + 0x10]
shr ecx, 2
push ecx
push edx
push 0
push eax
push 0
push 0x5e
mov eax, esi
call fcn.10032b10
mov eax, dword [esp + 0x30]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0x77
mov eax, esi
call fcn.10032ab0
mov eax, dword [esp + 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 8]
mov edi, dword [edi + 4]
mov eax, dword [esi]
shr ebx, 2
sub ebx, 3
push ebx
add edi, 2
push eax
call fcn.1001e1c0
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0x79
mov eax, esi
call fcn.10032b10
mov eax, dword [esp + 0x38]
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
and eax, 0xfffffffc
cmp eax, 4
ja 0x100421ac
mov eax, dword [esi + 0xc]
dec eax
js 0x100421ac
mov ecx, esi
call fcn.100332a0
cmp byte [eax], 0x1b
jne 0x100421ac
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
add edx, ecx
cmp edx, dword [edi + 0x24]
jne 0x100421ac
mov edx, dword [eax + 8]
add edx, ecx
cmp edx, dword [ebp + 0x10]
jne 0x100421ac
cmp dword [eax + 0x10], 0
jne 0x100421ac
inc ecx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x24]
push 1
push eax
push ecx
push 0x1b
mov eax, esi
call fcn.100329b0
mov ecx, dword [edi + 8]
shr ecx, 2
add esp, 0x10
cmp ecx, 1
jbe case.default.0x10042000
mov edx, dword [edi + 4]
push edx
push esi
or eax, 0xffffffff
call fcn.10033170
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x24]
mov dword [esp + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edi, dword [edi + 0x14]
push ecx
push edi
push ebx
call fcn.10041fa0
add esp, 0xc
mov dword [esp + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0x14]
push edx
push eax
push ebx
call fcn.10041fa0
add esp, 0xc
lea edx, [edi + 4]
mov dword [esp + 0x18], eax
call fcn.10048f00
mov ecx, dword [ebp + 0x10]
movsx edi, al
add edi, 0x2c
cmp dword [esp + 0x18], ecx
je 0x1004225d
mov eax, dword [esp + 0x18]
mov edx, ecx
push edx
push eax
push 9
mov eax, esi
call fcn.10032ab0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
push edi
mov eax, esi
call fcn.10032a60
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, 1
mov eax, ebx
call fcn.10041cf0
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x18]
mov edx, ebx
call fcn.1003f150
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
push 0x10
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
push ebx
call fcn.1003f1b0
add esp, 0x28
cmp dword [esp + 0x1c], 0
je case.0x10042000.21
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae case.0x10042000.21
mov esi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x10042bcb
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x100422e3
movzx edx, dl
mov dword [ebx + edx*4 + 0x18], esi
inc byte [ebx + 0x15]
mov esi, dword [esp + 0x20]
test esi, esi
je case.default.0x10042000
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae case.default.0x10042000
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], esi
je 0x10042bd4
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x10042314
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], esi
inc byte [ebx + 0x15]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x1c]
mov eax, edi
mov ecx, dword [eax + 0x14]
push edx
mov esi, ebx
call fcn.10042cd0
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x24]
add esp, 4
push ecx
mov ecx, dword [edx + 0x18]
mov edi, eax
call fcn.10042cd0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
add esp, 4
push ecx
push edi
push eax
mov eax, dword [esp + 0x1c]
push edx
call fcn.100329b0
add esp, 0x10
jmp 0x100422cb
mov eax, dword [edi + 0x14]
mov cl, byte [eax]
cmp cl, 0x82
jne 0x100423b2
mov eax, dword [eax + 4]
test eax, eax
je 0x1004241b
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push eax
mov eax, esi
call fcn.100413d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x100422cb
cmp cl, 0x81
jne 0x100423d6
mov edx, dword [ebp + 0x10]
push edx
mov ecx, 1
mov edx, esi
call fcn.10041520
mov eax, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x100422cb
mov ecx, ebx
call fcn.10043d00
mov edi, eax
push edi
push 0
push 0x30
mov eax, esi
mov dword [esp + 0x28], edi
call fcn.10032ab0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x2c]
add esp, 0xc
push eax
mov esi, ebx
call fcn.10042cd0
mov edx, dword [ebp + 0x10]
add esp, 4
push edx
push edi
push eax
mov eax, dword [esp + 0x1c]
push 0x55
call fcn.100329b0
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x100422cb
lea ecx, [esp + 0x1c]
mov edx, edi
push ecx
mov ecx, dword [edx + 0x14]
mov esi, ebx
call fcn.10042cd0
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
call fcn.10032ab0
add esp, 0xc
jmp 0x100422cb
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edi, esi
push 0x30
mov eax, edi
call fcn.10032ab0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x28]
add esp, 0xc
push edx
mov esi, ebx
call fcn.10042cd0
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push ecx
mov eax, edi
call fcn.10032a60
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push edx
mov esi, eax
push 0x2a
mov eax, edi
call fcn.10032ab0
add esp, 0x14
mov eax, esi
mov ecx, edi
call fcn.10032f70
jmp 0x100422cb
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x100424d6
add edi, 0xc
push edi
push str.misuse_of_aggregate:__T
push ebx
call fcn.1001d690
mov eax, dword [esp + 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x30]
mov edx, dword [eax + 0x20]
add ecx, ecx
mov eax, dword [edx + ecx*8 + 8]
mov dword [esp + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 8]
mov edx, dword [eax + 0x14]
mov al, byte [edx + 0x39]
xor ecx, ecx
mov edx, 0xc000
mov dword [esp + 0x28], ecx
mov byte [esp + 0x24], al
mov dword [esp + 0x14], ecx
test word [edi + 2], dx
je 0x1004256a
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push 0
push edx
mov edx, dword [esp + 0x18]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
shr eax, 2
push ecx
call fcn.1004d720
add esp, 0x14
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
je 0x1004257d
mov edx, dword [esp + 0x10]
push edx
push ebx
call fcn.10043d50
push 1
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
push ebx
call fcn.10043060
add esp, 0x14
jmp 0x10042585
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x10042517
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x1004251b
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x10]
cmp eax, 2
jl 0x100425a6
test byte [edi + 2], 0x80
je 0x100425a6
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x10]
jmp 0x100425b9
test eax, eax
jle 0x100425cd
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
call fcn.10067690
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add esp, 8
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 1
cmp eax, edi
jle 0x10042647
nop
cmp edi, 0x200
jge 0x10042647
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
mov eax, dword [edi + edx]
call fcn.10040a00
test eax, eax
je 0x10042603
mov eax, dword [esp + 0x2c]
or dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
test byte [ecx + 3], 8
je 0x1004262b
cmp dword [esp + 0x14], 0
jne 0x1004262b
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov eax, dword [edi + eax]
push ebx
call fcn.1003ef80
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
inc eax
add edi, 0x10
rol ecx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x10]
jl 0x100425e0
mov edx, dword [esp + 0x1c]
test byte [edx + 3], 8
je 0x1004267c
cmp dword [esp + 0x14], 0
jne 0x10042663
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
push 0xfffffffffffffffc
push edx
push 0
push 0
push 0
push 0xc
mov eax, esi
call fcn.10032b10
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push 0xfffffffffffffffb
push eax
push ecx
push edi
push edx
push 0x16
mov eax, esi
call fcn.10032b10
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x28]
add esp, 0x18
test eax, eax
je 0x100426b2
mov esi, dword [esi + 0xc]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 - 0x11], dl
test edx, edx
je 0x100426c1
cmp edx, dword [ebx + 0x38]
jle 0x100426c1
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
mov ecx, edi
mov eax, ebx
call fcn.10041cf0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x28], 0
jne 0x100426eb
push 0
push 0
mov edx, edi
mov ecx, ebx
call fcn.10040fe0
add esp, 8
mov edx, dword [edi + 0x28]
mov dword [esp + 0x18], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push edi
call fcn.10040bb0
add esp, 8
cmp dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
je 0x10042728
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x14], ecx
mov esi, edi
call fcn.1003f0b0
mov edx, dword [ebp + 0xc]
inc dword [ebx + 0x54]
mov edi, dword [ebp + 0x10]
mov byte [esp + 0x37], al
mov eax, dword [edx + 0x14]
mov esi, edi
mov ecx, ebx
call fcn.10042d50
mov esi, dword [esp + 0x10]
push edi
push 0x47
mov eax, esi
call fcn.10032a60
add esp, 8
cmp dword [esp + 0x24], 1
mov dword [esp + 0x30], eax
jne 0x100427c8
push edi
push 0x26
mov eax, esi
call fcn.10032a60
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
push edi
push 0
push ecx
push 0x2e
mov eax, esi
call fcn.100329b0
push edi
mov dword [esp + 0x44], eax
push 1
push 0x30
mov eax, esi
call fcn.10032ab0
add esp, 0x24
push 0x60
mov eax, esi
call fcn.10032a10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, esi
call fcn.10032f70
mov eax, dword [esp + 0x28]
mov ecx, esi
call fcn.10032f70
push edi
push 0
push 0x30
jmp 0x100428b5
mov ecx, ebx
call fcn.10043d00
push 1
lea edx, [esp + 0x3b]
push edx
push eax
push 1
mov dword [esp + 0x30], eax
push edi
push 0x4f
mov eax, esi
call fcn.10032b10
push edi
push 1
push 0x30
mov eax, esi
call fcn.10032ab0
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
add esp, 0x24
push eax
push 0
push edx
push 0x80
mov eax, esi
call fcn.100329b0
add esp, 0x10
cmp dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
jne 0x10042828
push edi
push 0
push 0x30
jmp 0x100428b5
mov eax, dword [esp + 0xc]
push eax
push 0x48
mov eax, esi
call fcn.10032a60
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x38], eax
push 0
push 0x77
mov eax, esi
call fcn.10032ab0
mov edx, dword [esp + 0x20]
add esp, 0x14
push 0xfffffffffffffffe
push 0x10099d40
push 0
push edx
push 2
push 0x79
mov eax, esi
call fcn.10032b10
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
push eax
push 0
push edx
push 0x80
mov eax, esi
call fcn.100329b0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
push eax
push 0
push 0x30
mov eax, esi
call fcn.10032ab0
mov eax, dword [esp + 0x5c]
add esp, 0x34
mov ecx, esi
call fcn.10032f70
mov eax, dword [esp + 0x2c]
mov ecx, esi
call fcn.10032f70
mov ecx, dword [esp + 0x14]
push edi
push ecx
push 0x14
mov eax, esi
call fcn.10032ab0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, esi
call fcn.10032f70
mov eax, dword [esp + 0x24]
mov ecx, esi
call fcn.10032f70
mov eax, ebx
call fcn.100418d0
jmp case.0x10042000.21
mov eax, edi
mov edx, dword [eax + 0x1c]
mov esi, dword [edx + 0xc]
mov edi, dword [eax + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x1c], eax
call fcn.1003f150
mov ecx, ebx
call fcn.10043d00
mov edx, eax
mov dword [esp + 0x3c], edx
call fcn.10043d00
mov ecx, dword [esp + 0x40]
push 0x10
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x28]
push ecx
push 0x4e
push ebx
mov ecx, edi
call fcn.1003f1b0
mov edx, dword [esi + 0x10]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov edx, ebx
call fcn.10043d20
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
mov esi, ebx
call fcn.10042cd0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
add esp, 0x2c
push 0x10
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0x4c
push ebx
mov ecx, edi
call fcn.1003f1b0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push esi
mov esi, dword [esp + 0x4c]
push esi
push 0x43
call fcn.100329b0
add esp, 0x28
mov edx, ebx
call fcn.10043d20
mov esi, dword [esp + 0x24]
call fcn.10043d20
jmp 0x100422cb
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x14]
push eax
push ecx
push ebx
call fcn.10041fa0
add esp, 0xc
mov dword [esp + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], edx
call fcn.10032b80
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10042a3d
mov esi, eax
mov ecx, 0x10
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov esi, ebx
call fcn.10042cd0
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x60], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x7c]
add esp, 4
mov byte [esp + 0x38], 0x84
mov byte [esp + 0x78], 0x4a
mov dword [esp + 0x8c], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x10042aed
mov ecx, dword [esp + 0xc]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], eax
inc dword [ebx + 0x54]
cmp dword [esp + 0x24], 0
je 0x10042a72
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x90], eax
jmp 0x10042a7c
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x10]
call fcn.10032b80
mov edi, eax
mov eax, dword [esp + 0x28]
push 8
push edi
push eax
push ebx
call fcn.10043550
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x10]
mov esi, dword [ebp + 0x10]
mov ecx, ebx
call fcn.10042d50
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push edx
push 0
push 0x60
mov eax, esi
call fcn.10032ab0
add esp, 0x1c
mov eax, ebx
call fcn.100418d0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10042adb
lea ecx, [edi*4 + 4]
sub eax, ecx
mov edx, esi
mov ecx, dword [edx + 0xc]
mov dword [eax], ecx
add dword [esp + 0xc], 0x20
dec dword [esp + 0x2c]
jne 0x10042a59
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x18], 0
je 0x10042b0f
mov edx, dword [ebp + 0xc]
inc dword [ebx + 0x54]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call fcn.10042d50
mov eax, ebx
call fcn.100418d0
jmp 0x10042b21
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x77
mov eax, esi
call fcn.10032ab0
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x100422cb
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
lea edx, [edx*4 + 4]
sub eax, edx
mov dword [eax], ecx
jmp 0x100422cb
cmp dword [ebx + 0x1e4], 0
jne 0x10042b67
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.1001d690
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 1]
cmp al, 4
je 0x10042b98
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
shr edx, 2
push edx
push ecx
movsx edx, al
push 0
push edx
push 0x13
push 0x27
mov eax, esi
call fcn.10032b10
mov eax, dword [esp + 0x30]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x69
mov eax, esi
call fcn.10032ab0
mov eax, dword [ebx + 0x1e4]
mov ecx, dword [eax + 0x18]
add esp, 0xc
push ecx
push 0
push 0x60
mov eax, esi
call fcn.10032ab0
mov eax, dword [esp + 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 9], 1
jmp case.0x10042000.21
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov byte [ecx + 9], 1
pop ebx
mov esp, ebp
pop ebp
ret