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

Disassembly:
push 0xffffffffffffffff
push 0x1004083c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
mov edx, dword [esp + 0x1c0]
push ebx
push ebp
push esi
lea eax, [esp + 0x34]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
xor ebx, ebx
push 0x10046c18
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
call fcn.100121f0
add esp, 0x10
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.100048e0
add esp, 8
test eax, eax
je 0x10005d9c
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x14]
push str.FILE_TYPE
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push str.ABM_DEF
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x14]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004a10
add esp, 0xc
test eax, eax
je 0x10005d94
mov ebp, dword [esp + 0x1dc]
cmp dword [esp + 0x28], 3
jge 0x10005d94
xor edi, edi
mov esi, 0x1004684c
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
push edx
push eax
call fcn.10036180
add esp, 8
test eax, eax
je 0x100055d0
add esi, 4
inc edi
cmp esi, 0x10046858
jl 0x100055b0
mov ecx, dword [esp + 0x28]
inc ecx
sub edi, 0
mov dword [esp + 0x28], ecx
je 0x10005b6c
dec edi
je 0x1000579d
dec edi
jne 0x10005d75
lea ecx, [esp + 0x14]
push str.START
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push str.NUMBER
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x10005d9c
mov dword [esp + 0x50], eax
mov al, byte [esp + 0xb4]
test al, 4
je 0x100056bb
push 0x1dc
call fcn.100355a6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x1c4], 0
je 0x10005691
mov ecx, eax
call fcn.1000b370
jmp 0x10005693
xor eax, eax
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ebp
mov edi, eax
push ecx
mov ecx, eax
mov dword [esp + 0x1cc], 0xffffffff
mov dword [esp + 0x20], edi
call dword [edx + 8]
test eax, eax
je 0x10005d9c
jmp 0x1000570c
push 0x94
call fcn.100355a6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x1c4], 1
je 0x100056e4
mov ecx, eax
call fcn.1000f050
jmp 0x100056e6
xor eax, eax
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ebp
mov edi, eax
push ecx
mov ecx, eax
mov dword [esp + 0x1cc], 0xffffffff
mov dword [esp + 0x20], edi
call dword [edx + 8]
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x10005d75
lea edx, [esp + 0x14]
push str.START
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x1cc]
lea ecx, [esp + 0x14]
push ebp
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.10004ec0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10005d9c
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 4]
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push 0x10046bf0
lea ecx, [esp + 0x14]
push eax
push ecx
xor ebx, ebx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x1000571a
jmp 0x10005d75
lea edx, [esp + 0x14]
push str.START
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea ecx, [esp + 0x14]
push str.RECT
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004c90
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push str.STYLE
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
push 0x12
push 0x100468a0
lea edx, [esp + 0xbc]
push 0x10046858
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10004e10
add esp, 0x18
test eax, eax
je 0x10005d9c
test byte [esp + 0xb4], 4
je 0x10005a3a
lea edx, [esp + 0x6c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x70]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x74]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
xor esi, esi
mov edx, dword [esi + 0x10046948]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edi, [esp + esi + 0x58]
lea edx, [esp + 0x14]
push edi
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004d40
add esp, 0xc
test eax, eax
jne 0x100058f5
mov dword [edi], eax
add esi, 4
cmp esi, 0x14
jl 0x100058b7
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10005d9c
test byte [esp + 0xb4], 0x40
je 0x10005920
mov dword [esp + 0x20], 0
jmp 0x10005b13
lea ecx, [esp + 0x14]
push str.SCROLLBAAR_DTP
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0xb4]
and al, 8
neg al
sbb eax, eax
xor ebp, ebp
neg eax
inc eax
test eax, eax
mov dword [esp + 0x20], eax
jle 0x10005b13
lea esi, [esp + 0x78]
push 0x3c
call fcn.100357ef
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
je 0x10005d9c
push 0x3c
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.10004a80
add esp, 0x10
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x14]
push esi
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea ecx, [esi + 4]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
push 0x104
lea edi, [esi + 8]
call fcn.100357ef
lea ecx, [esp + 0xbc]
mov dword [edi], eax
push 0x104
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.10004a80
add esp, 0x14
test eax, eax
je 0x10005d9c
lea ecx, [esp + 0x44]
lea edx, [esp + 0xb8]
push ecx
push edi
push 0x10046bdc
push edx
call fcn.100121f0
add esp, 0x10
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x20]
inc ebp
add esi, 0x14
cmp ebp, eax
jl 0x10005961
jmp 0x10005b13
lea eax, [esp + 0x68]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x60]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x64]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x58]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x70]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004c10
add esp, 0xc
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x1cc]
lea ecx, [esp + 0x14]
push str.MAINVIEW
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0xac], eax
mov dword [esp + 0x60], 1
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push 0x10046bf0
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
jmp 0x10005d6e
lea edx, [esp + 0x14]
push str.START
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea ecx, [esp + 0x14]
push str.NUMBER
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004b00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x10005d9c
mov eax, dword [esp + 0x1d4]
mov dword [eax], ecx
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
shl eax, 3
add eax, 0xa
push eax
call fcn.100357ef
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x3c], ebp
je 0x10005d9c
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x4c], eax
jle 0x10005d34
lea esi, [ebp + 0x87]
lea ecx, [esp + 0x14]
push str.START
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push str.FLDNAME
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edx, [esi - 0x7f]
push 0x7f
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.10004a80
add esp, 0x10
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x14]
push str.FLDDES
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
push 0xff
lea ecx, [esp + 0x18]
push esi
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.10004a80
add esp, 0x10
test eax, eax
je 0x10005d9c
lea eax, [esp + 0x14]
push str.SAVETYPE
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea edx, [esp + 0x40]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10004ba0
add esp, 0xc
test eax, eax
je 0x10005d9c
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push 0x10046bf0
lea ecx, [esp + 0x14]
and edx, 0xffff
push eax
push ecx
mov dword [esi - 0x87], edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov eax, dword [esp + 0x24]
inc edi
add esi, 0x188
cmp edi, eax
jl 0x10005c1b
lea edx, [esp + 0x14]
push str.FIELD
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x54], ebp
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
lea ecx, [esp + 0x14]
push 0x10046bf0
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004d00
add esp, 0xc
test eax, eax
je 0x10005d9c
mov ebp, dword [esp + 0x1dc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10004a10
add esp, 0xc
test eax, eax
jne 0x1000559e
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10005dad
push eax
call fcn.100357a7
add esp, 4
mov edi, dword [esp + 0x20]
test edi, edi
jle 0x10005dd6
lea esi, [esp + 0x80]
mov eax, dword [esi + 4]
push eax
call fcn.100357a7
mov ecx, dword [esi]
push ecx
call fcn.100357a7
add esp, 8
add esi, 0x14
dec edi
jne 0x10005dbc
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10005dfe
mov eax, dword [esp + 0x1d8]
test eax, eax
je 0x10005df5
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10005df5
mov dword [eax], ecx
jmp 0x10005dfe
push ecx
call fcn.100357a7
add esp, 4
test ebx, ebx
je 0x10005e0b
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x10]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x10005e3d
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x10005e26
mov eax, dword [ecx]
push 1
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
add esp, 0x1b8
ret
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x1b8
ret