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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
cmp esi, edx
je 0x53d3c54
mov edi, dword [ebp + 0xc]
lea ecx, [edx + 0x65]
cmp edi, edx
je 0x53d3185
movzx ecx, byte [edi]
mov dword [esp + 0x2c], ecx
add ecx, 0xffffffed
cmp ecx, 0x8c
ja case.0x53d319f.21
movzx ecx, byte [ecx + 0x53d3f9c]
jmp dword [ecx*4 + 0x53d3f34]
movsx ecx, word [edi + 0x22]
mov eax, dword [edi + 0x28]
cmp byte [eax], 0
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x1c]
lea ecx, [ecx + edx*8]
jne 0x53d31cb
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x24], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x53d31f4
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x2e
mov eax, esi
call fcn.0539c3d0
mov eax, dword [esp + 0x34]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, dword [edi + 0x1c]
cmp eax, edx
jge 0x53d3218
mov ecx, dword [ebx + 0x60]
cmp ecx, edx
jle 0x53d3215
movsx eax, word [edi + 0x20]
add eax, ecx
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x64]
movzx ecx, byte [edi + 0x26]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi + 0x2c]
push edx
push eax
movsx eax, word [edi + 0x20]
push eax
push ecx
call fcn.053ad4f0
add esp, 0x14
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, edi
mov ecx, ebx
call fcn.053a5150
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 8]
push eax
push 0
mov eax, esi
call fcn.053a2900
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x10]
push 0
push ecx
push 0
push edx
push 0
push 0x61
mov eax, esi
call fcn.0539ee30
mov eax, dword [esp + 0x3c]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x1c
mov eax, esi
call fcn.0539eea0
mov eax, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov ecx, dword [ecx + 8]
add ecx, 2
call fcn.05373120
lea ebx, [eax - 1]
mov eax, dword [esi]
push ebx
push eax
mov edi, ecx
call fcn.05383690
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 0x1e
mov eax, esi
call fcn.0539ee30
mov eax, dword [esp + 0x44]
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
movsx ecx, word [edi + 0x20]
push eax
push ecx
push 0x1f
mov eax, esi
call fcn.0539eea0
mov edx, dword [edi + 8]
add esp, 0xc
cmp byte [edx + 1], 0
je 0x53d34ed
mov edx, dword [ebx + 0x1dc]
mov eax, edi
movsx ecx, word [eax + 0x20]
mov ebx, dword [edx + ecx*4 - 4]
mov eax, esi
mov ecx, dword [eax + 4]
mov edi, dword [eax]
test ecx, ecx
je 0x53d3383
cmp byte [edi + 0x40], 0
jne 0x53d3383
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*4 - 5]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.05388110
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x53d3371
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xfe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
mov eax, 0xfffffffe
call fcn.05388110
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x24], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
push edx
push eax
push ebx
call fcn.053d3140
add esp, 0xc
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, edi
mov eax, dword [edx + 0xc]
push ecx
push eax
push ebx
call fcn.053d3140
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
add esp, 0xc
xor edi, edi
mov dword [esp + 0x24], eax
call fcn.053758c0
mov edx, dword [ebp + 0x10]
movsx edi, al
add edi, 0x2e
cmp dword [esp + 0x24], edx
je 0x53d3414
mov ecx, dword [esp + 0x24]
mov eax, edx
push eax
push ecx
push 0x22
mov eax, esi
call fcn.0539eea0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
push eax
push edi
mov eax, esi
call fcn.0539ef00
mov edi, dword [esp + 0x2c]
add esp, 8
mov ecx, 1
mov eax, ebx
call fcn.05375db0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov esi, ebx
call fcn.0539e430
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x10]
push edx
call fcn.0539e430
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0x10
push ecx
push eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0xc]
push edx
push eax
mov eax, dword [edi + 0x10]
push ebx
call fcn.053afe10
add esp, 0x18
mov esi, dword [esp + 0x18]
test esi, esi
je 0x53d34bc
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x53d34bc
xor eax, eax
lea ecx, [ebx + 0x78]
jmp 0x53d34a0
cmp dword [ecx + 0xc], esi
je 0x53d3f1c
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x53d34a0
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x1c], esi
inc byte [ebx + 0x13]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x53d34ed
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x53d34ed
xor eax, eax
lea ecx, [ebx + 0x78]
cmp dword [ecx + 0xc], esi
je 0x53d3f25
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x53d34d1
movzx edx, dl
mov dword [ebx + edx*4 + 0x1c], esi
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov esi, ebx
call fcn.0539e430
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x10]
push edx
call fcn.0539e430
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0x90
push ecx
push eax
xor eax, eax
cmp dword [esp + 0x38], 0x49
sete al
add eax, 0x4e
jmp 0x53d346e
lea ecx, [esp + 0x18]
mov edx, edi
mov eax, dword [edx + 0xc]
push ecx
mov esi, ebx
call fcn.0539e430
mov ecx, dword [ebp + 0xc]
mov edi, eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov eax, dword [ecx + 0x10]
call fcn.0539e430
mov edx, dword [ebp + 0x10]
add esp, 4
push edx
push edi
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
call fcn.0539c3d0
add esp, 0x10
jmp 0x53d3483
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x53d35a5
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, ebx
call fcn.053a5150
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x24], edx
jmp 0x53d3483
cmp cl, 0x85
jne 0x53d35c9
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
push edx
push 1
mov eax, esi
call fcn.053a2900
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x24], edx
jmp 0x53d3483
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
mov esi, ebx
mov byte [esp + 0x44], 0x84
mov dword [esp + 0x48], 0x4400
mov dword [esp + 0x4c], edx
call fcn.0539e430
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
add esp, 4
mov edi, eax
mov eax, dword [edx + 0xc]
push ecx
call fcn.0539e430
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push edi
push eax
mov eax, dword [esp + 0x40]
push 0x5a
call fcn.0539c3d0
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x24], edx
jmp 0x53d3483
lea eax, [esp + 0x18]
mov ecx, edi
push eax
mov eax, dword [ecx + 0xc]
mov esi, ebx
call fcn.0539e430
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
add esp, 4
push ecx
push eax
mov eax, dword [esp + 0x3c]
push edx
mov dword [esp + 0x30], ecx
call fcn.0539eea0
add esp, 0xc
jmp 0x53d3483
mov eax, dword [ebp + 0x10]
push eax
push 1
mov edi, esi
push 0x19
mov eax, edi
call fcn.0539eea0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x24]
add esp, 0xc
push ecx
mov esi, ebx
call fcn.0539e430
add esp, 4
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, edi
call fcn.0539ef00
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push ecx
mov esi, eax
push 0x25
mov eax, edi
call fcn.0539eea0
add esp, 0x14
mov eax, esi
mov edx, edi
call fcn.053769d0
jmp 0x53d3483
mov eax, dword [edi + 0x28]
cmp eax, edx
jne 0x53d36d1
mov edx, dword [edi + 8]
push edx
push str.misuse_of_aggregate:__s__
push ebx
call fcn.053888e0
mov eax, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [edi + 0x22]
mov edx, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [edx + ecx*8 + 8]
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
mov cl, byte [eax + 0x4d]
mov dword [esp + 0x20], edx
mov byte [esp + 0x28], cl
mov dword [esp + 0x1c], edx
je 0x53d370d
mov dword [esp + 0x18], edx
jmp 0x53d371a
mov edi, dword [edi + 0x14]
mov dword [esp + 0x18], edi
cmp edi, edx
je 0x53d371a
mov edx, dword [edi]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.05373120
mov edx, dword [esp + 0x28]
push 0
push edx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ecx
call fcn.05381a20
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x53d3770
mov edx, dword [esp + 0x14]
push edx
push edi
push str.unknown_function:__.s__
push ebx
call fcn.053888e0
mov eax, dword [esp + 0x34]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax + 2]
test eax, 0x200
je 0x53d3824
mov eax, esi
call fcn.0539c360
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 8]
push ecx
mov ecx, dword [eax]
push ecx
push ebx
call fcn.053d4030
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 1
jle 0x53d380a
dec eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x30]
mov edi, dword [ebp + 0x10]
push edx
push edi
push 0x4d
mov eax, esi
call fcn.0539eea0
add esp, 0xc
mov ecx, 1
mov eax, ebx
call fcn.05375db0
inc dword [ebx + 0x68]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, edi
mov edi, dword [esp + 0x1c]
push eax
mov eax, dword [edi + edx]
push eax
push ebx
call fcn.053d4030
add esp, 0xc
mov eax, ebx
call fcn.05375cb0
add edi, 0x18
dec dword [esp + 0x28]
mov dword [esp + 0x1c], edi
jne 0x53d37b7
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.05370bc0
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0x400
je 0x53d384d
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [ecx]
push edx
push ebx
call fcn.053d4030
mov eax, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x28], 1
cmp eax, edi
jle 0x53d38d3
mov dword [esp + 0x14], edi
cmp edi, 0x20
jge 0x53d388f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx]
push eax
call fcn.0537f6e0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x53d388f
mov ecx, dword [esp + 0x28]
or dword [esp + 0x20], ecx
mov edx, dword [esp + 0x2c]
test byte [edx + 2], 0x20
je 0x53d38bf
cmp dword [esp + 0x1c], 0
jne 0x53d38bf
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx]
push ebx
call fcn.053aa410
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x28]
add dword [esp + 0x14], 0x18
inc edi
rol ecx, 1
mov dword [esp + 0x28], ecx
cmp edi, eax
jl 0x53d3863
cmp dword [esp + 0x18], 0
je 0x53d3955
cmp dword [esp + 0x20], 0
je 0x53d38f6
mov ecx, dword [ebx + 0x4c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x14], edx
mov dword [ebx + 0x4c], ecx
jmp 0x53d3907
mov esi, eax
mov ecx, ebx
call fcn.0536fa20
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x2c]
test byte [edi + 2], 0xc0
je 0x53d392f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov cl, byte [eax]
cmp cl, 0x9a
je 0x53d3926
cmp cl, 0x9c
jne 0x53d392f
mov dl, byte [edi + 2]
and dl, 0xc0
mov byte [eax + 0x26], dl
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
inc dword [ebx + 0x68]
push eax
push ebx
mov cl, 3
mov edx, edi
call fcn.053a2720
add esp, 8
mov eax, ebx
call fcn.05375cb0
mov eax, dword [esp + 0x10]
jmp 0x53d3961
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
cmp eax, 2
jl 0x53d398c
mov ecx, dword [ebp + 0xc]
test byte [ecx + 4], 0x80
je 0x53d398c
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [edx + 0x18]
push ecx
call fcn.05383c40
add esp, 0xc
mov edi, eax
jmp 0x53d39b0
test eax, eax
jle 0x53d39ac
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [edx]
push ecx
call fcn.05383c40
add esp, 0xc
mov edi, eax
jmp 0x53d39b0
mov edi, dword [esp + 0x2c]
test byte [edi + 2], 0x20
je 0x53d39da
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x53d39c5
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
push 0x24
mov eax, esi
call fcn.0539ee30
add esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xfffffffffffffffb
push edi
push eax
push ecx
push edx
push 1
mov eax, esi
call fcn.0539ee30
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
add esp, 0x18
test eax, eax
je 0x53d3a0c
mov esi, dword [esi + 0x20]
lea edx, [esi + esi*4]
mov byte [eax + edx*4 - 0x11], cl
test ecx, ecx
je 0x53d34ed
cmp dword [esp + 0x20], 0
jne 0x53d34ed
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.05375db0
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x3c]
jle 0x53d34ed
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x40], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov eax, ebx
call fcn.053d1090
add esp, 0xc
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
call fcn.0539c360
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.0539c360
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x1c
mov eax, esi
call fcn.0539eea0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
add esp, 0xc
push ecx
push edx
push edi
push ebx
call fcn.053d2590
mov edi, dword [ebp + 0x10]
push edi
push 1
push 0x19
mov eax, esi
call fcn.0539eea0
mov eax, dword [esp + 0x38]
add esp, 0x1c
push eax
mov ecx, esi
call fcn.05370bc0
add esp, 4
push 0
push edi
push 0x25
mov eax, esi
call fcn.0539eea0
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.05370bc0
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
push ecx
mov eax, edi
mov esi, ebx
call fcn.0539e430
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push edx
call fcn.0539e430
add esp, 4
mov ecx, ebx
mov edx, eax
call fcn.0536fa80
mov esi, eax
mov dword [esp + 0x30], esi
call fcn.0536fa80
push 0x10
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x30]
push 0x53
push ebx
mov ecx, edi
call fcn.053afe10
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov edx, ebx
call fcn.0536fa50
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
mov esi, ebx
call fcn.0539e430
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push 0x10
push esi
push eax
mov eax, dword [esp + 0x2c]
push ecx
push 0x51
push ebx
mov ecx, edi
call fcn.053afe10
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x4c]
push edx
push esi
mov esi, dword [esp + 0x50]
push esi
push 0x48
call fcn.0539c3d0
add esp, 0x28
mov edx, ebx
call fcn.0536fa50
mov esi, dword [esp + 0x1c]
call fcn.0536fa50
jmp 0x53d3483
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0xc]
push eax
push ecx
push ebx
call fcn.053d3140
add esp, 0xc
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 0x2c]
movsx eax, word [ebx + 0x26]
movsx ecx, word [edi + 0x20]
mov edx, dword [ebp + 0x10]
inc eax
imul eax, dword [edi + 0x1c]
push edx
lea edx, [eax + ecx + 1]
push edx
push 0x80
mov eax, esi
call fcn.0539eea0
movzx eax, word [edi + 0x20]
add esp, 0xc
test ax, ax
js 0x53d34ed
mov ecx, dword [ebx + 4]
cwde
lea eax, [eax + eax*2]
cmp byte [ecx + eax*8 + 0x15], 0x65
jne 0x53d34ed
mov edx, dword [ebp + 0x10]
push edx
push 0x27
mov eax, esi
call fcn.0539ef00
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1a0], edx
jne 0x53d3c5d
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.053888e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x53d3c6a
mov ecx, ebx
call fcn.0536f6a0
mov al, byte [edi + 1]
push 0
cmp al, 4
jne 0x53d3c94
mov eax, dword [edi + 8]
push eax
push 0
push 4
push 0
push 0x18
mov eax, esi
call fcn.0539ee30
mov eax, dword [esp + 0x3c]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 8]
push 0
movsx edx, al
push ecx
push edx
push 0x713
mov eax, ebx
call fcn.053a1690
mov eax, dword [esp + 0x38]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
call fcn.0539c360
mov edi, dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edi
test edi, edi
je 0x53d3d36
mov eax, edi
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov esi, ebx
call fcn.0539e430
mov dl, byte [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x74]
add esp, 4
and dword [esp + 0x44], 0xffffefff
mov byte [esp + 0x66], dl
mov byte [esp + 0x40], 0x9f
mov byte [esp + 0x70], 0x4f
mov dword [esp + 0x7c], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 1]
test eax, eax
jle 0x53d3e89
mov edx, dword [esp + 0x1c]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
inc dword [ebx + 0x68]
cmp dword [esp + 0x30], 0
je 0x53d3d6e
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
jmp 0x53d3d78
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov edi, dword [esi + 0x18]
mov eax, dword [edi + 0x70]
lea edx, [eax - 1]
lea ecx, [eax + 1]
mov dword [esp + 0x1c], eax
mov dword [edi + 0x70], ecx
test eax, edx
jne 0x53d3dd2
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x74]
mov ecx, dword [edi]
lea edx, [edx*8 + 4]
push edx
push eax
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
call fcn.0539a740
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jne 0x53d3dc7
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
call fcn.0537c5b0
mov eax, dword [esp + 0x38]
mov dword [edi + 0x74], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [edi + 0x74]
test edi, edi
je 0x53d3de0
mov dword [edi + eax*4], 0xffffffff
mov ecx, dword [esp + 0x28]
or edi, 0xffffffff
sub edi, dword [esp + 0x1c]
push 8
push edi
push ecx
push ebx
call fcn.053d2db0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
push edx
push ecx
push ebx
call fcn.053d4030
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 0x1c
mov dword [esp + 0x38], eax
cmp dword [edx + 0x58], eax
jg 0x53d3e27
mov ebx, esi
call fcn.0539b0d0
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x53d3e51
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x38]
xor ecx, ecx
inc dword [esi + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x14]
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x10
mov eax, ebx
call fcn.05375cb0
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, edi
js 0x53d3e6f
mov edx, dword [ecx + 0x74]
test edx, edx
je 0x53d3e6f
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov eax, dword [esi + 0x20]
add dword [esp + 0x20], 0x30
dec eax
dec dword [esp + 0x2c]
mov dword [ecx + 0x5c], eax
jne 0x53d3d55
mov ecx, dword [esp + 0x10]
test cl, 1
je 0x53d3eb6
mov edx, dword [ebp + 0x10]
inc dword [ebx + 0x68]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [ecx + 8]
mov eax, dword [edx + eax*8 - 0x18]
push eax
push ebx
call fcn.053d4030
add esp, 0xc
mov eax, ebx
call fcn.05375cb0
jmp 0x53d3ef1
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], edi
jg 0x53d3ecc
mov ebx, esi
call fcn.0539b0d0
test eax, eax
jne 0x53d3ef1
mov eax, dword [esi + 4]
xor ecx, ecx
inc dword [esi + 0x20]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x10]
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x1c
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x14]
js 0x53d3f0a
mov edx, dword [ecx + 0x74]
test edx, edx
je 0x53d3f0a
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x5c], eax
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 6], 1
jmp 0x53d34bc
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret