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

Disassembly:
push 0xffffffffffffffff
push 0x615848
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x2c4]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x2d4]
mov ebp, dword [esp + 0x2d8]
mov edi, dword [esp + 0x2dc]
mov dword [esp + 0x14], 0
cmp ebx, 0x100
ja 0x54931d
je case.0x549345.260
lea eax, [ebx - 1]
cmp eax, 0x86
ja case.0x5496d8.784
movzx eax, byte [eax + 0x5497c8]
jmp dword [eax*4 + 0x549758]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.005449c0
mov bl, al
test bl, bl
je 0x54971e
xor edx, edx
cmp byte [esp + 0x1c], dl
setne dl
dec edx
mov dword [esp + 0x14], edx
jmp 0x54971a
call fcn.00542560
jmp case.0x5496d8.784
push ebp
mov eax, edi
shr eax, 0x10
movzx ecx, di
push eax
push ecx
mov ecx, esi
call fcn.00545b70
jmp 0x549718
mov edx, edi
shr edx, 0x10
movsx eax, dx
movsx ecx, di
push eax
push ecx
mov ecx, esi
call fcn.005459d0
jmp 0x549718
mov eax, dword [0x6f9ea4]
mov edx, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0053f130
mov edx, dword [esp + 0x1c]
push eax
test ebp, ebp
setne al
movzx ecx, al
mov eax, dword [edx + 0xbc]
push ecx
mov ecx, dword [esp + 0x20]
call eax
jmp case.0x5496d8.784
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push edi
push ebp
mov ecx, esi
call fcn.00542470
cmp word [esp + 0x1c], 0
mov ecx, dword [esp + 0x20]
push ecx
movzx ecx, word [esp + 0x1c]
setne dl
movzx eax, dl
push eax
push ecx
mov ecx, esi
call fcn.005449f0
jmp 0x549718
push ebp
call fcn.00544aa0
jmp 0x549718
push ebp
call fcn.00544be0
jmp 0x549718
test ebp, ebp
je 0x548da5
push ebp
push esi
lea ecx, [esp + 0x1c4]
call fcn.0054e0c0
mov ecx, esi
mov dword [esp + 0x2cc], 0
call fcn.00548ac0
lea ecx, [esp + 0x1bc]
mov bl, al
mov dword [esp + 0x2cc], 0xffffffff
call fcn.0054dd70
jmp 0x54971a
call fcn.00548ac0
jmp 0x549718
mov dword [esp + 0x14], 1
jmp 0x549738
test ebp, ebp
setne dl
movzx eax, dl
push edi
push eax
call fcn.00544d30
jmp 0x549718
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.005447c0
jmp 0x549718
cmp edi, 3
jne case.0x5496d8.784
mov dword [esp + 0x14], 2
jmp 0x549738
mov edx, dword [esi]
push edi
push ebp
cmp ebx, 0x2b
jne 0x548e0a
mov eax, dword [edx + 0x27c]
jmp 0x548e10
mov eax, dword [edx + 0x280]
call eax
mov bl, al
test bl, bl
je 0x54971e
mov dword [esp + 0x14], 1
jmp 0x54971a
cmp dword [esi + 0x118], 0
je 0x548e44
mov ecx, dword [esi + 0xcc]
shr ecx, 0x12
test cl, 1
je case.0x5496d8.784
mov edx, dword [esi + 0xcc]
shr edx, 0x12
mov dword [esp + 0x14], 0x80
test dl, 1
je 0x549738
mov dword [esp + 0x14], 0x87
jmp 0x549738
call fcn.005450c0
jmp 0x549718
call fcn.00545150
jmp 0x549718
mov eax, dword [esi]
mov edx, dword [eax + 0x284]
push edi
push ebp
call edx
jmp 0x549718
push ebp
call fcn.00548820
jmp 0x548e12
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00544810
jmp 0x549718
test ebp, ebp
setne cl
movzx edx, cl
push edi
push edx
mov ecx, esi
call fcn.005448e0
jmp 0x549718
push edi
call fcn.00545e20
jmp 0x549718
mov eax, edi
shr eax, 0x10
push eax
push edi
push ebp
call fcn.00547700
jmp 0x548e12
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x548f47
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
push 0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [0x6fcd5c]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00537960
mov dword [esp + 0x70], esi
mov esi, dword [esi + 0x5c]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x2d0], 1
call edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00537a00
jmp 0x549738
cmp eax, 2
jne case.0x5496d8.784
mov eax, dword [edi + 8]
mov ecx, dword [0x6fcd5c]
push 0
push 0x6e492c
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00537960
mov dword [esp + 0x70], esi
mov esi, dword [esi + 0x5c]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x2d0], 2
call edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00537a00
jmp 0x549738
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx eax, di
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], edx
mov edx, dword [0x6fccf4]
push eax
push edx
lea ecx, [esp + 0x74]
call fcn.00537c10
mov dword [esp + 0x2cc], 3
cmp ebp, dword [esi + 0x114]
je 0x548ff1
push 0
push ebp
mov ecx, esi
call fcn.00542ef0
test eax, eax
jne 0x548ff3
mov eax, esi
mov dword [esp + 0x70], eax
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x68]
mov bl, al
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00406eee
jmp 0x54971a
call fcn.005421d0
mov dword [esp + 0x20], eax
test eax, eax
je case.0x5496d8.784
mov ecx, esi
call fcn.0053f320
call fcn.00542220
cmp eax, 0x10000000
jne case.0x5496d8.784
mov edi, dword [esp + 0x2dc]
mov ebp, dword [esp + 0x2d8]
mov eax, dword [esi]
mov edx, dword [eax + 0x28c]
push edi
push ebp
push ebx
mov ecx, esi
call edx
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
cmp ebp, ebx
je 0x549097
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
jmp 0x5490b2
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
push str.EDIT
push esi
lea ecx, [esp + 0x24]
call fcn.00542d40
push esi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x2d0], 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0054df10
mov ecx, dword [esp + 0x2a4]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push 1
push 1
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov byte [esp + 0x2e4], 5
call ecx
test eax, eax
jne 0x549170
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
cmp ebp, ebx
je 0x54914d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x549168
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov dword [esp + 0x14], 0x300
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x2cc], 4
call fcn.0054da80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00542200
jmp 0x549738
call fcn.005421d0
mov dword [esp + 0x20], eax
test eax, eax
je case.0x5496d8.784
mov ecx, esi
call fcn.0053f320
call fcn.00542220
cmp eax, 0x10000000
jne case.0x5496d8.784
mov eax, dword [esp + 0x2dc]
mov ecx, dword [esp + 0x2d8]
mov edx, dword [esi]
mov edx, dword [edx + 0x28c]
push eax
push ecx
push ebx
mov ecx, esi
call edx
push str.EDIT
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00542d40
mov ebx, 6
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0x2d0], ebx
call fcn.0054de70
lea eax, [esp + 0xb4]
push eax
mov ecx, esi
mov byte [esp + 0x2d0], 7
call fcn.0052f590
push eax
lea ecx, [esp + 0x2c]
call fcn.0053f180
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00542c20
mov edx, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push 1
push 1
push edx
push ebp
call eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1ac]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov ecx, dword [edi + 0x38]
push 1
push 1
push ebp
call ecx
test eax, eax
je 0x5492c0
mov ecx, dword [esp + 0x1a4]
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x58]
push edx
mov edx, dword [edi + 0xb4]
push ecx
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov edx, dword [esp + 0x1a4]
movzx eax, al
neg eax
sbb eax, eax
push 0
and eax, 0xfffffffd
lea ecx, [esp + 0x5c]
push ecx
add eax, 4
push eax
mov eax, dword [edi + 8]
push 1
push edx
push ebp
call eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x2cc], bl
call fcn.005512f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00542200
jmp 0x549738
cmp ebx, 0x200
ja 0x54953f
je 0x549525
lea eax, [ebx - 0x101]
cmp eax, 0x37
ja case.0x5496d8.784
movzx ecx, byte [eax + 0x549874]
jmp dword [ecx*4 + 0x549850]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.00542440
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00545ed0
jmp 0x549718
movzx ebx, bp
push edi
push ebx
mov ecx, esi
call fcn.00547e20
add al, al
xor al, byte [esi + 0x11c]
and al, 2
xor byte [esi + 0x11c], al
test byte [esi + 0x11c], 2
je 0x5493a8
mov bl, 1
jmp 0x5493e9
lea eax, [ebp - 8]
cmp eax, 0xd6
ja case.0x5493b9.10
movzx edx, byte [eax + 0x5498bc]
jmp dword [edx*4 + 0x5498ac]
mov bl, 1
jmp 0x5493e9
xor bl, bl
jmp 0x5493e9
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x204
mov ecx, esi
call fcn.00546110
jmp 0x5493e7
push 0
push edi
push ebx
mov ecx, esi
call fcn.00547d30
mov bl, al
cmp dword [esp + 0x2d4], 0x104
je 0x54971e
jmp 0x54971a
mov ecx, esi
cmp ebp, 0x5d
jne 0x54941b
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x205
call fcn.00546110
jmp 0x549718
movzx eax, bp
push edi
push eax
call fcn.00547ec0
jmp 0x549718
mov al, byte [esi + 0x11c]
test al, 2
je 0x549441
and al, 0xfd
mov byte [esi + 0x11c], al
jmp 0x549738
push 1
movzx ecx, bp
push edi
push ecx
mov ecx, esi
call fcn.00547d30
jmp 0x549718
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.00542470
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x274]
push eax
mov eax, dword [esp + 0x20]
push ecx
xor ecx, ecx
cmp ebx, 0x114
setne cl
push eax
lea ecx, [ecx*4 + 4]
push ecx
mov ecx, esi
call edx
jmp 0x549718
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.005424a0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.005451e0
jmp 0x549718
push ebp
mov ecx, esi
call fcn.00544dd0
mov bl, al
test bl, bl
je 0x54971e
mov dword [esp + 0x14], 0
jmp 0x54971a
mov edx, ebp
shr edx, 0x10
cmp edx, 0x10
jne case.0x5496d8.784
movzx eax, bp
push edi
push eax
call fcn.005a950e
add esp, 4
push eax
mov ecx, esi
call fcn.00546470
cmp eax, 0xffffffff
je case.0x5496d8.784
movzx eax, ax
or eax, 0x20000
jmp 0x549734
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
push ebp
movsx eax, di
push edx
push eax
mov ecx, esi
call fcn.005479d0
jmp 0x549718
cmp ebx, 0x2a3
ja 0x5496c4
je 0x5496b4
lea eax, [ebx - 0x201]
cmp eax, 0x32
ja case.0x5496d8.784
movzx ecx, byte [eax + 0x5499b4]
jmp dword [ecx*4 + 0x549994]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
sub edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
sub eax, ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
inc edx
inc eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.00545a80
mov bl, al
test bl, bl
je 0x54971e
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x34]
mov dword [edi + 8], eax
lea eax, [edx + ecx - 1]
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
jmp 0x54971a
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
sub edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
sub eax, ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
inc edx
inc eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.00545d30
jmp 0x54959b
push edi
push ebp
mov ecx, esi
call fcn.00546240
jmp 0x549718
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
push ebp
movsx eax, di
push edx
push eax
push ebx
mov ecx, esi
call fcn.00546110
mov bl, al
test bl, bl
jne 0x549738
cmp dword [esi + 0x118], 0
jne 0x54971a
cmp dword [esp + 0x2d4], 0x201
jne 0x54971a
mov edx, dword [esi]
mov eax, dword [edx + 0xd0]
mov ecx, esi
call eax
test al, al
je 0x54971a
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
jmp 0x54971a
push edi
mov ecx, esi
call fcn.005453d0
jmp 0x549718
push ebp
mov ecx, esi
call fcn.00544e60
jmp 0x549718
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.00547860
mov bl, al
test bl, bl
je 0x548e1c
cmp byte [esp + 0x1c], 0
je 0x548e1c
mov dword [esp + 0x14], 0x424d5144
jmp 0x54971a
test byte [esi + 0x11c], 1
je case.0x5496d8.784
call fcn.00546350
jmp case.0x5496d8.784
lea eax, [ebx - 0x30f]
cmp eax, 0xa9
ja case.0x5496d8.784
movzx edx, byte [eax + 0x549a00]
jmp dword [edx*4 + 0x5499e8]
push ebp
call fcn.00545800
jmp 0x549718
mov eax, edi
shr eax, 0x10
movsx ecx, ax
push ebp
push ecx
movsx edx, di
push edx
push ebx
mov ecx, esi
call fcn.005465e0
jmp 0x549718
movzx eax, bp
push edi
push eax
call fcn.00547fd0
jmp 0x549718
push ebp
call fcn.00545270
jmp 0x549718
call fcn.005454d0
mov bl, al
test bl, bl
jne 0x549738
mov ebx, dword [esp + 0x2d4]
mov edx, dword [esi]
mov eax, dword [edx + 0x28c]
push edi
push ebp
push ebx
mov ecx, esi
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2bc
ret 0xc