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

Disassembly:
push 0xffffffffffffffff
push 0x7807bb
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [esp + 0x180]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov esi, ecx
push eax
push edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x24], edi
call fcn.005ee640
xor eax, eax
cmp edi, eax
mov dword [esi + 0x48], eax
jle 0x5ee9b0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx + eax]
mov ecx, dword [esi + 0x48]
xor eax, eax
test ecx, ecx
jbe 0x5ee931
mov edx, dword [esi + 0x4c]
cmp dword [edx], ebp
je 0x5ee9a0
add eax, 1
add edx, 4
cmp eax, ecx
jb 0x5ee923
mov edi, dword [esi + 0x48]
lea ebx, [esi + 0x44]
add edi, 1
cmp edi, dword [ebx]
jbe 0x5ee98f
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x5ee974
cmp edi, 0x40
mov ecx, edi
jae 0x5ee968
lea eax, [edi - 1]
and eax, edi
je 0x5ee95c
mov ecx, eax
lea eax, [ecx - 1]
and eax, ecx
jne 0x5ee953
cmp ecx, 1
jae 0x5ee974
mov ecx, 1
jmp 0x5ee974
mov dword [ebx + 0xc], 0x40
mov ecx, 0x40
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x5ee984
sub ecx, edx
add ecx, edi
mov edi, ecx
lea ebx, [esi + 0x44]
push edi
mov ecx, ebx
call fcn.004232e0
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
lea ecx, [edx + eax*4]
add eax, 1
mov dword [ebx + 4], eax
mov dword [ecx], ebp
add dword [esp + 0x14], 0x40
sub dword [esp + 0x18], 1
jne 0x5ee90d
mov edx, str.Pane
mov ecx, str.DoodadPropsDialog
call fcn.005b00f0
mov ebx, eax
mov edx, str.Pane
mov ecx, str.DoodadPropsDialog
mov dword [esp + 0x34], ebx
call fcn.005b0110
mov edx, str.Pane
mov ecx, str.DoodadPropsDialog
mov edi, eax
call fcn.005b0130
add eax, ebx
mov edx, str.Pane
mov ecx, str.DoodadPropsDialog
mov dword [esp + 0x3c], eax
call fcn.005b0150
mov ebx, eax
mov eax, dword [esi + 0x78]
add ebx, edi
xor ebp, ebp
test eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jbe 0x5eea71
jmp 0x5eea20
mov eax, dword [esi + 0x7c]
cmp dword [eax + ebp*4], 0
lea eax, [eax + ebp*4]
je 0x5eea69
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x18], eax
je 0x5eea5f
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5eea4c
push 0
push 0xfffffffffffffffe
push str..PAVCDoodadPropsArea__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
push 0x7987b8
push ecx
call sub.Storm.dll_Ordinal_403
mov edx, dword [esi + 0x7c]
mov dword [edx + ebp*4], 0
add ebp, 1
cmp ebp, dword [esi + 0x78]
jb 0x5eea20
mov eax, dword [esi + 0x7c]
xor ebp, ebp
test eax, eax
je 0x5eea88
push ebp
push 0xfffffffffffffffe
push str..PAVCDoodadPropsPane__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, esi
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebp
call fcn.005edcb0
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x58]
lea eax, [esi + 0x44]
cmp edx, eax
mov dword [esp + 0x178], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
je 0x5eeaed
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.00556310
mov eax, dword [esi + 0x50]
mov dword [esp + 0x64], eax
xor ebp, ebp
cmp dword [esi + ebp*4 + 0x5c], 0
je 0x5eec60
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jle 0x5eec60
xor edi, edi
nop
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + ebp*4 + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, edi
mov eax, dword [eax]
push eax
call edx
test eax, eax
jne 0x5eeb38
add ebx, 1
add edi, 0x40
cmp ebx, dword [esp + 0x1c]
jl 0x5eeb10
jmp 0x5eec60
cmp ebp, 5
ja case.0x5eeb41.0
jmp dword [ebp*4 + 0x5eee24]
xor edi, edi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + edi*4 + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esi + ebp*4 + 0x5c]
lea eax, [esp + 0x40]
push eax
call fcn.005ed920
cmp edi, 0xffffffff
jne 0x5eebf7
mov ecx, dword [esi + ebp*4 + 0x5c]
add dword [esp + 0x14], eax
push 1
call fcn.005ed970
mov eax, 1
cmp dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jle 0x5eebc3
mov edi, 0x40
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + ebp*4 + 0x5c]
mov ebx, dword [ecx]
lea edx, [eax + edi]
push edx
mov edx, dword [ebx + 0x20]
push eax
call edx
test eax, eax
je 0x5eec55
mov eax, dword [esp + 0x18]
add eax, 1
add edi, 0x40
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x5eeb94
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + ebp*4 + 0x5c]
push eax
call fcn.005ee5e0
jmp 0x5eec60
mov edi, 1
jmp 0x5eeb4a
mov ecx, dword [esp + 0x14]
or edi, 0xffffffff
mov dword [esp + 0x40], 0xa
mov dword [esp + 0x44], ecx
jmp 0x5eeb5a
add dword [esp + edi*4 + 0x20], eax
cmp dword [esp + edi*4 + 0x28], 0
lea ebx, [esp + edi*4 + 0x28]
jne 0x5eec44
push 0
push 0x13a
push str..CDoodadPropsDialog.cpp
push 0x14
call sub.Storm.dll_Ordinal_401
xor ecx, ecx
cmp eax, ecx
je 0x5eec40
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], edi
mov ecx, dword [esi + ebp*4 + 0x5c]
push ecx
mov ecx, eax
mov dword [ebx], eax
call fcn.005ee1b0
jmp 0x5eeb80
xor eax, eax
mov dword [ebx], eax
mov ecx, dword [esi + ebp*4 + 0x5c]
push ecx
mov ecx, dword [ebx]
call fcn.005ee1b0
jmp 0x5eeb80
mov ecx, dword [esi + ebp*4 + 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add ebp, 1
cmp ebp, 6
jl 0x5eeaf6
mov ecx, dword [esi + 0x30]
call fcn.0040ae00
mov ecx, dword [esi + 0x30]
call fcn.0040c1a0
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp dword [esp + ebp*4 + 0x28], 0
je 0x5eed46
mov edi, dword [esi + 0x78]
lea ebx, [esi + 0x74]
add edi, 1
cmp edi, dword [ebx]
jbe 0x5eecec
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x5eecd1
cmp edi, 0x40
mov ecx, edi
jae 0x5eecc5
lea eax, [edi - 1]
and eax, edi
je 0x5eecb9
nop
mov ecx, eax
lea eax, [ecx - 1]
and eax, ecx
jne 0x5eecb0
cmp ecx, 1
jae 0x5eecd1
mov ecx, 1
jmp 0x5eecd1
mov dword [ebx + 0xc], 0x40
mov ecx, 0x40
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x5eece1
sub ecx, edx
add ecx, edi
mov edi, ecx
lea ebx, [esi + 0x74]
push edi
mov ecx, ebx
call fcn.005edc20
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [ebx + 4], eax
mov eax, dword [esp + ebp*4 + 0x28]
mov dword [ecx], eax
mov eax, ebp
sub eax, 0
je 0x5eed14
sub eax, 1
jne 0x5eed29
mov ecx, str.WESTRING_DPTAB_DROPTABLE
jmp 0x5eed19
mov ecx, 0x7dc6c4
push 0
push 0x104
lea edx, [esp + 0x70]
call fcn.004da2f0
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
lea edx, [esp + 0x6c]
push edx
call fcn.004148b0
mov eax, dword [esp + ebp*4 + 0x20]
cmp eax, dword [esp + 0x14]
jle 0x5eed46
mov dword [esp + 0x14], eax
add ebp, 1
cmp ebp, 2
jl 0x5eec82
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x38]
test edi, edi
jle 0x5eedb9
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0040adc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x30]
add eax, edi
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x20]
push eax
call edx
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 4]
call fcn.00410dd0
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 8]
add eax, edi
push 1
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call edx
xor edx, edx
lea ecx, [edx + 0x1f]
call fcn.004df5b0
push eax
mov ecx, esi
call fcn.005edf60
test eax, eax
jne 0x5eede2
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
push 0
call edx
mov ecx, esi
call fcn.005edef0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5eedf9
push 0
push 0xfffffffffffffffe
push 0x829be4
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00735f58
add esp, 0x168
ret 4