Function at 0x4500c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x408
push esi
mov esi, dword [esp + 0x430]
test esi, esi
je 0x450dbf
push ebx
push ebp
push edi
call dword [sym.imp.GDI32.dll_GdiFlush]
cmp esi, 0xff
jge 0x450cbd
mov ebx, 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], 6
mov dword [esp + 0x34], 7
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 9
mov dword [esp + 0x40], 0xa
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], 0xd
mov dword [esp + 0x50], 0xe
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x58], 0x10
mov dword [esp + 0x5c], 0x11
mov dword [esp + 0x60], 0x12
mov dword [esp + 0x64], 0x13
mov dword [esp + 0x68], 0x14
mov dword [esp + 0x6c], 0x15
mov dword [esp + 0x70], 0x16
mov dword [esp + 0x74], 0x17
mov dword [esp + 0x78], 0x18
mov dword [esp + 0x7c], 0x19
mov dword [esp + 0x80], 0x1a
mov dword [esp + 0x84], 0x1b
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x8c], 0x1d
mov dword [esp + 0x90], 0x1e
mov dword [esp + 0x94], 0x1f
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x9c], 0x21
mov dword [esp + 0xa0], 0x22
mov dword [esp + 0xa4], 0x23
mov dword [esp + 0xa8], 0x24
mov dword [esp + 0xac], 0x25
mov dword [esp + 0xb0], 0x26
mov dword [esp + 0xb4], 0x27
mov dword [esp + 0xb8], 0x28
mov dword [esp + 0xbc], 0x29
mov dword [esp + 0xc0], 0x2a
mov dword [esp + 0xc4], 0x2b
mov dword [esp + 0xc8], 0x2c
mov dword [esp + 0xcc], 0x2d
mov dword [esp + 0xd0], 0x2e
mov dword [esp + 0xd4], 0x2f
mov dword [esp + 0xd8], 0x30
mov dword [esp + 0xdc], 0x31
mov dword [esp + 0xe0], 0x32
mov dword [esp + 0xe4], 0x33
mov dword [esp + 0xe8], 0x34
mov dword [esp + 0xec], 0x35
mov dword [esp + 0xf0], 0x36
mov dword [esp + 0xf4], 0x37
mov dword [esp + 0xf8], 0x38
mov dword [esp + 0xfc], 0x39
mov dword [esp + 0x100], 0x3a
mov dword [esp + 0x104], 0x3b
mov dword [esp + 0x108], 0x3c
mov dword [esp + 0x10c], 0x3d
mov dword [esp + 0x110], 0x3e
mov dword [esp + 0x114], 0x3f
mov dword [esp + 0x118], 0x40
mov dword [esp + 0x11c], 0x41
mov dword [esp + 0x120], 0x42
mov dword [esp + 0x124], 0x43
mov dword [esp + 0x128], 0x44
mov dword [esp + 0x12c], 0x45
mov dword [esp + 0x130], 0x46
mov dword [esp + 0x134], 0x47
mov dword [esp + 0x138], 0x48
mov dword [esp + 0x13c], 0x49
mov dword [esp + 0x140], 0x4a
mov dword [esp + 0x144], 0x4b
mov dword [esp + 0x148], 0x4c
mov dword [esp + 0x14c], 0x4d
mov dword [esp + 0x150], 0x4e
mov dword [esp + 0x154], 0x4f
mov dword [esp + 0x158], pe_nt_image_headers32
mov dword [esp + 0x15c], 0x51
mov dword [esp + 0x160], 0x52
mov dword [esp + 0x164], 0x53
mov dword [esp + 0x168], 0x54
mov dword [esp + 0x16c], 0x55
mov dword [esp + 0x170], 0x56
mov dword [esp + 0x174], 0x57
mov dword [esp + 0x178], 0x58
mov dword [esp + 0x17c], 0x59
mov dword [esp + 0x180], 0x5a
mov dword [esp + 0x184], 0x5b
mov dword [esp + 0x188], 0x5c
mov dword [esp + 0x18c], 0x5d
mov dword [esp + 0x190], 0x5e
mov dword [esp + 0x194], 0x5f
mov dword [esp + 0x198], 0x60
mov dword [esp + 0x19c], 0x61
mov dword [esp + 0x1a0], 0x62
mov dword [esp + 0x1a4], 0x63
mov dword [esp + 0x1a8], 0x64
mov dword [esp + 0x1ac], 0x65
mov dword [esp + 0x1b0], 0x66
mov dword [esp + 0x1b4], 0x67
mov dword [esp + 0x1b8], 0x68
mov dword [esp + 0x1bc], 0x69
mov dword [esp + 0x1c0], 0x6a
mov dword [esp + 0x1c4], 0x6b
mov dword [esp + 0x1c8], 0x6c
mov dword [esp + 0x1cc], 0x6d
mov dword [esp + 0x1d0], 0x6e
mov dword [esp + 0x1d4], 0x6f
mov dword [esp + 0x1d8], 0x70
mov dword [esp + 0x1dc], 0x71
mov dword [esp + 0x1e0], 0x72
mov dword [esp + 0x1e4], 0x73
mov dword [esp + 0x1e8], 0x74
mov dword [esp + 0x1ec], 0x75
mov dword [esp + 0x1f0], 0x76
mov dword [esp + 0x1f4], 0x77
mov dword [esp + 0x1f8], 0x78
mov dword [esp + 0x1fc], 0x79
mov dword [esp + 0x200], 0x7a
mov dword [esp + 0x204], 0x7b
mov dword [esp + 0x208], 0x7c
mov dword [esp + 0x20c], 0x7d
mov dword [esp + 0x210], 0x7e
mov dword [esp + 0x214], 0x7f
mov dword [esp + 0x218], 0x80
mov dword [esp + 0x21c], 0x81
mov dword [esp + 0x220], 0x82
mov dword [esp + 0x224], 0x83
mov dword [esp + 0x228], 0x84
mov dword [esp + 0x22c], 0x85
mov dword [esp + 0x230], 0x86
mov dword [esp + 0x234], 0x87
mov dword [esp + 0x238], 0x88
mov dword [esp + 0x23c], 0x89
mov dword [esp + 0x240], 0x8a
mov dword [esp + 0x244], 0x8b
mov dword [esp + 0x248], 0x8c
mov dword [esp + 0x24c], 0x8d
mov dword [esp + 0x250], 0x8e
mov dword [esp + 0x254], 0x8f
mov dword [esp + 0x258], 0x90
mov dword [esp + 0x25c], 0x91
mov dword [esp + 0x260], 0x92
mov dword [esp + 0x264], 0x93
mov dword [esp + 0x268], 0x94
mov dword [esp + 0x26c], 0x95
mov dword [esp + 0x270], 0x96
mov dword [esp + 0x274], 0x97
mov dword [esp + 0x278], 0x98
mov dword [esp + 0x27c], 0x99
mov dword [esp + 0x280], 0x9a
mov dword [esp + 0x284], 0x9b
mov dword [esp + 0x288], 0x9c
mov dword [esp + 0x28c], 0x9d
mov dword [esp + 0x290], 0x9e
mov dword [esp + 0x294], 0x9f
mov dword [esp + 0x298], 0xa0
mov dword [esp + 0x29c], 0xa1
mov dword [esp + 0x2a0], 0xa2
mov dword [esp + 0x2a4], 0xa3
mov dword [esp + 0x2a8], 0xa4
mov dword [esp + 0x2ac], 0xa5
mov dword [esp + 0x2b0], 0xa6
mov dword [esp + 0x2b4], 0xa7
mov dword [esp + 0x2b8], 0xa8
mov dword [esp + 0x2bc], 0xa9
mov dword [esp + 0x2c0], 0xaa
mov dword [esp + 0x2c4], 0xab
mov dword [esp + 0x2c8], 0xac
mov dword [esp + 0x2cc], 0xad
mov dword [esp + 0x2d0], 0xae
mov dword [esp + 0x2d4], 0xaf
mov dword [esp + 0x2d8], 0xb0
mov dword [esp + 0x2dc], 0xb1
mov dword [esp + 0x2e0], 0xb2
mov dword [esp + 0x2e4], 0xb3
mov dword [esp + 0x2e8], 0xb4
mov dword [esp + 0x2ec], 0xb5
mov dword [esp + 0x2f0], 0xb6
mov dword [esp + 0x2f4], 0xb7
mov dword [esp + 0x2f8], 0xb8
mov dword [esp + 0x2fc], 0xb9
mov dword [esp + 0x300], 0xba
mov dword [esp + 0x304], 0xbb
mov dword [esp + 0x308], 0xbc
mov dword [esp + 0x30c], 0xbd
mov dword [esp + 0x310], 0xbe
mov dword [esp + 0x314], 0xbf
mov dword [esp + 0x318], 0xc0
mov dword [esp + 0x31c], 0xc1
mov dword [esp + 0x320], 0xc2
mov dword [esp + 0x324], 0xc3
mov dword [esp + 0x328], 0xc4
mov dword [esp + 0x32c], 0xc5
mov dword [esp + 0x330], 0xc6
mov dword [esp + 0x334], 0xc7
mov dword [esp + 0x338], 0xc8
mov dword [esp + 0x33c], 0xc9
mov dword [esp + 0x340], 0xca
mov dword [esp + 0x344], 0xcb
mov dword [esp + 0x348], 0xcc
mov dword [esp + 0x34c], 0xcd
mov dword [esp + 0x350], 0xce
mov dword [esp + 0x354], 0xcf
mov dword [esp + 0x358], 0xd0
mov dword [esp + 0x35c], 0xd1
mov dword [esp + 0x360], 0xd2
mov dword [esp + 0x364], 0xd3
mov dword [esp + 0x368], 0xd4
mov dword [esp + 0x36c], 0xd5
mov dword [esp + 0x370], 0xd6
mov dword [esp + 0x374], 0xd7
mov dword [esp + 0x378], 0xd8
mov dword [esp + 0x37c], 0xd9
mov dword [esp + 0x380], 0xda
mov dword [esp + 0x384], 0xdb
mov dword [esp + 0x388], 0xdc
mov dword [esp + 0x38c], 0xdd
mov dword [esp + 0x390], 0xde
mov dword [esp + 0x394], 0xdf
mov dword [esp + 0x398], 0xe0
mov dword [esp + 0x39c], 0xe1
mov dword [esp + 0x3a0], 0xe2
mov dword [esp + 0x3a4], 0xe3
mov dword [esp + 0x3a8], 0xe4
mov dword [esp + 0x3ac], 0xe5
mov dword [esp + 0x3b0], 0xe6
mov dword [esp + 0x3b4], 0xe7
mov dword [esp + 0x3b8], 0xe8
mov dword [esp + 0x3bc], 0xe9
mov dword [esp + 0x3c0], 0xea
mov dword [esp + 0x3c4], 0xeb
mov dword [esp + 0x3c8], 0xec
mov dword [esp + 0x3cc], 0xed
mov dword [esp + 0x3d0], 0xee
mov dword [esp + 0x3d4], 0xef
mov dword [esp + 0x3d8], 0xf0
mov dword [esp + 0x3dc], 0xf1
mov dword [esp + 0x3e0], 0xf2
mov dword [esp + 0x3e4], 0xf3
mov dword [esp + 0x3e8], 0xf4
mov dword [esp + 0x3ec], 0xf5
mov dword [esp + 0x3f0], 0xf6
mov dword [esp + 0x3f4], 0xf7
mov dword [esp + 0x3f8], 0xf8
mov dword [esp + 0x3fc], 0xf9
mov dword [esp + 0x400], 0xfa
mov dword [esp + 0x404], 0xfb
mov dword [esp + 0x408], 0xfc
mov dword [esp + 0x40c], 0xfd
mov dword [esp + 0x410], 0xfe
mov dword [esp + 0x414], 0xff
xor eax, eax
lea ecx, [esi + 1]
mov edx, dword [esp + eax*4 + 0x18]
imul edx, ecx
sar edx, 8
mov dword [esp + eax*4 + 0x18], edx
add eax, ebx
cmp eax, 0x100
jl 0x450ba3
mov eax, dword [esp + 0x438]
test eax, eax
jle 0x450dbc
mov esi, dword [esp + 0x434]
mov edx, dword [esp + 0x41c]
mov dword [esp + 0x10], eax
jmp 0x450be0
test esi, esi
mov ecx, dword [esp + 0x424]
mov ebp, dword [esp + 0x42c]
mov eax, edx
jle 0x450c83
mov dword [esp + 0x14], esi
lea esp, [esp]
movzx esi, byte [ebp]
mov edi, dword [esp + esi*4 + 0x18]
add ebp, ebx
test edi, edi
jne 0x450c16
add eax, 4
add ecx, 4
jmp 0x450c76
movzx esi, byte [eax]
add edi, ebx
movzx ebx, byte [ecx]
sub ebx, esi
imul ebx, edi
shl esi, 8
add ebx, esi
sar ebx, 8
mov byte [eax], bl
movzx esi, byte [eax + 1]
movzx ebx, byte [ecx + 1]
sub ebx, esi
add eax, 1
imul ebx, edi
add ecx, 1
shl esi, 8
add ebx, esi
sar ebx, 8
mov byte [eax], bl
movzx esi, byte [eax + 1]
movzx ebx, byte [ecx + 1]
add eax, 1
add ecx, 1
sub ebx, esi
imul ebx, edi
shl esi, 8
add ebx, esi
sar ebx, 8
mov byte [eax], bl
mov ebx, 1
add eax, ebx
add ecx, 2
mov byte [eax], 0
add eax, ebx
sub dword [esp + 0x14], ebx
jne 0x450c00
mov esi, dword [esp + 0x434]
mov eax, dword [esp + 0x428]
mov ecx, dword [esp + 0x430]
sub edx, dword [esp + 0x420]
sub dword [esp + 0x424], eax
sub dword [esp + 0x42c], ecx
sub dword [esp + 0x10], ebx
jne 0x450be0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x408
ret 0x24
mov eax, dword [esp + 0x438]
test eax, eax
jle 0x450dbc
mov esi, dword [esp + 0x434]
mov edx, dword [esp + 0x41c]
mov dword [esp + 0x14], eax
mov ebx, 1
jmp 0x450cf0
test esi, esi
mov ecx, dword [esp + 0x424]
mov ebp, dword [esp + 0x42c]
mov eax, edx
jle 0x450d8f
mov dword [esp + 0x10], esi
lea esp, [esp]
movzx edi, byte [ebp]
add ebp, ebx
test edi, edi
jne 0x450d22
add eax, 4
add ecx, 4
jmp 0x450d82
movzx esi, byte [eax]
add edi, ebx
movzx ebx, byte [ecx]
sub ebx, esi
imul ebx, edi
shl esi, 8
add ebx, esi
sar ebx, 8
mov byte [eax], bl
movzx esi, byte [eax + 1]
movzx ebx, byte [ecx + 1]
sub ebx, esi
add eax, 1
imul ebx, edi
add ecx, 1
shl esi, 8
add ebx, esi
sar ebx, 8
mov byte [eax], bl
movzx esi, byte [eax + 1]
movzx ebx, byte [ecx + 1]
add eax, 1
add ecx, 1
sub ebx, esi
imul ebx, edi
shl esi, 8
add ebx, esi
sar ebx, 8
mov byte [eax], bl
mov ebx, 1
add eax, ebx
add ecx, 2
mov byte [eax], 0
add eax, ebx
sub dword [esp + 0x10], ebx
jne 0x450d10
mov esi, dword [esp + 0x434]
mov eax, dword [esp + 0x428]
mov ecx, dword [esp + 0x430]
sub edx, dword [esp + 0x420]
sub dword [esp + 0x424], eax
sub dword [esp + 0x42c], ecx
sub dword [esp + 0x14], ebx
jne 0x450cf0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x408
ret 0x24